Skip to content
Permalink
Browse files
Fixed stupid linked list bug.
Double-penance: it is cut-and-pasted in three places!
  • Loading branch information
icculus committed Feb 10, 2009
1 parent 7c8ac35 commit 1a785329e98dfd1d8db97c0256125e05c74e60fe
Showing with 3 additions and 3 deletions.
  1. +1 −1 mojoshader.c
  2. +1 −1 mojoshader_assembler.c
  3. +1 −1 mojoshader_preprocessor.c
@@ -404,7 +404,7 @@ static void failf(Context *ctx, const char *fmt, ...)
while (item != NULL)
{
prev = item;
item = error->next;
item = item->next;
} // while

if (prev == NULL)
@@ -152,7 +152,7 @@ static void failf(Context *ctx, const char *fmt, ...)
while (item != NULL)
{
prev = item;
item = error->next;
item = item->next;
} // while

if (prev == NULL)
@@ -658,7 +658,7 @@ include_close = (MOJOSHADER_includeClose) 0x1;
while (item != NULL)
{
prev = item;
item = error->next;
item = item->next;
} // while

if (prev == NULL)

0 comments on commit 1a78532

Please sign in to comment.