Minor syntax OCD. trunk
authorRyan C. Gordon <icculus@icculus.org>
Sun, 29 Jun 2008 00:22:30 -0400
branchtrunk
changeset 409 b20cf4004a58
parent 408 796209598bf9
child 410 38bb72b3af8a
Minor syntax OCD.
mojoshader.c
--- a/mojoshader.c	Sun Jun 29 00:17:25 2008 -0400
+++ b/mojoshader.c	Sun Jun 29 00:22:30 2008 -0400
@@ -3977,7 +3977,7 @@
         floatstr(ctx, val3, sizeof (val3), clist->constant.value.f[3], 1);
 
         output_line(ctx, "{ %s, %s, %s, %s }%s", val0, val1, val2, val3,
-                    (i < size-1) ? "," : "");
+                    (i < (size-1)) ? "," : "");
 
         ctx->scratchidx = origscratch;
         clist = clist->next;