Assembler: fixed *_gt conditional.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 21 Feb 2011 00:26:32 -0500
changeset 994 561ee5138f4e
parent 993 426ab31f27d1
child 995 7e7826e191f5
Assembler: fixed *_gt conditional.
mojoshader_assembler.c
--- a/mojoshader_assembler.c	Thu Feb 10 22:20:04 2011 -0500
+++ b/mojoshader_assembler.c	Mon Feb 21 00:26:32 2011 -0500
@@ -1101,7 +1101,7 @@
 
     if (ctx->tokenlen >= 3)
     {
-        for (i = 1; i < STATICARRAYLEN(comps); i++)
+        for (i = 0; i < STATICARRAYLEN(comps); i++)
         {
             if (check_token_segment(ctx, comps[i]))
             {