Christian Costa : d3dxof: Small clean-up.

Alexandre Julliard julliard at winehq.org
Mon Nov 24 09:16:38 CST 2008


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

Author: Christian Costa <titan.costa at wanadoo.fr>
Date:   Sun Nov 23 21:30:37 2008 +0100

d3dxof: Small clean-up.

---

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

diff --git a/dlls/d3dxof/d3dxof.c b/dlls/d3dxof/d3dxof.c
index 79dc59b..3093fb3 100644
--- a/dlls/d3dxof/d3dxof.c
+++ b/dlls/d3dxof/d3dxof.c
@@ -804,7 +804,7 @@ static WORD parse_TOKEN(parse_buffer * buf)
       if (!read_bytes(buf, &token, 2))
         return 0;
 
-      /* Convert integer and float list into sereparate elements */
+      /* Convert integer and float list into separate elements */
       if (token == TOKEN_INTEGER_LIST)
       {
         if (!read_bytes(buf, &nb_elem, 4))
@@ -1859,8 +1859,6 @@ static BOOL parse_object_members_list(parse_buffer * buf)
           return FALSE;
         }
         nb_elems = last_dword;
-        /*FIXME("Arrays with variable size not yet supported\n");
-        return FALSE;*/
       }
       else
         nb_elems = pt->members[i].dim_value[0];
@@ -1889,7 +1887,7 @@ static BOOL parse_object_members_list(parse_buffer * buf)
       {
         int j;
 
-        TRACE("Found suboject %s\n", buf->pdxf->xtemplates[pt->members[i].idx_template].name);
+        TRACE("Found sub-object %s\n", buf->pdxf->xtemplates[pt->members[i].idx_template].name);
         buf->level++;
         /* To do template lookup */
         for (j = 0; j < buf->pdxf->nb_xtemplates; j++)
@@ -1913,8 +1911,6 @@ static BOOL parse_object_members_list(parse_buffer * buf)
           return FALSE;
         }
         buf->level--;
-        /*if (get_TOKEN(buf) != TOKEN_SEMICOLON)
-          return FALSE;*/
       }
       else
       {




More information about the wine-cvs mailing list