Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 21 Dec 2008 09:56:13 -0500
changeset 528 3ce47a5d9fe4
parent 527 7bc4c80ef02c
child 529 e77225cd13ae
Patched to compile.
mojoshader_assembler.c
--- a/mojoshader_assembler.c	Sun Dec 21 09:55:10 2008 -0500
+++ b/mojoshader_assembler.c	Sun Dec 21 09:56:13 2008 -0500
@@ -1697,6 +1697,7 @@
         else if ((len == 1) && ((ptr = memchr(ptr, bytes[0], ctx->ctab_len - len)) != NULL))
             return ( (uint32) (((uint8 *) ptr) - ctx->ctab) );
         else  // search for the string of bytes...
+        {
             while ((ptr = memchr(ptr, bytes[0], ctx->ctab_len - len)) != NULL)
             {
                 if (memcmp(ptr, bytes, len) == 0)  // this is it?