Christian Costa : d3dxof: Properly initialize nb_childs.

Alexandre Julliard julliard at winehq.org
Fri Oct 23 10:19:04 CDT 2009


Module: wine
Branch: master
Commit: b9561c9cf90f20f3bb32981fc3ba9c8e8bd21094
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b9561c9cf90f20f3bb32981fc3ba9c8e8bd21094

Author: Christian Costa <titan.costa at wanadoo.fr>
Date:   Fri Oct 23 08:40:48 2009 +0200

d3dxof: Properly initialize nb_childs.

---

 dlls/d3dxof/parsing.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index dc7b473..fb5ab4e 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -1174,6 +1174,8 @@ static BOOL parse_object_members_list(parse_buffer * buf)
 
 static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
 {
+  buf->pxo->nb_childs = 0;
+
   if (!parse_object_members_list(buf))
     return FALSE;
 




More information about the wine-cvs mailing list