From cbf3f52cfa4d2bbd2dc114517d0958a99b220d8d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 29 Jun 2008 00:22:30 -0400 Subject: [PATCH] Minor syntax OCD. --HG-- branch : trunk --- mojoshader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mojoshader.c b/mojoshader.c index 887ac091..5fc1aa22 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -3977,7 +3977,7 @@ static void emit_ARB1_const_array(Context *ctx, const ConstantsList *clist, 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;