Dylan Smith : d3dxof: Initialize binary member variable of xobjects.

Alexandre Julliard julliard at winehq.org
Thu Apr 21 11:17:49 CDT 2011


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

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Wed Apr 20 16:21:06 2011 -0400

d3dxof: Initialize binary member variable of xobjects.

---

 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 34801ac..c3bfba0 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -1229,6 +1229,7 @@ _exit:
 
         buf->pxo->childs[buf->pxo->nb_childs] = &buf->pxo_tab[buf->pxo->root->nb_subobjects++];
         buf->pxo->childs[buf->pxo->nb_childs]->ptarget = &(buf->pxo_globals[i])[j];
+        buf->pxo->childs[buf->pxo->nb_childs]->binary = FALSE;
         buf->pxo->nb_childs++;
       }
       else if (check_TOKEN(buf) == TOKEN_NAME)
@@ -1274,6 +1275,7 @@ BOOL parse_object(parse_buffer * buf)
 
   buf->pxo->pos_data = buf->cur_pos_data;
   buf->pxo->ptarget = NULL;
+  buf->pxo->binary = FALSE;
   buf->pxo->root = buf->pxo_tab;
 
   if (get_TOKEN(buf) != TOKEN_NAME)




More information about the wine-cvs mailing list