[PATCH] Properly initialize nb_childs.

Christian Costa titan.costa at wanadoo.fr
Fri Oct 23 01:40:48 CDT 2009


---

 dlls/d3dxof/parsing.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
-------------- next part --------------
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-patches mailing list