Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Patched to compile.
  • Loading branch information
icculus committed Feb 18, 2009
1 parent a818d5e commit 43c99c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_preprocessor.c
Expand Up @@ -840,7 +840,7 @@ static void handle_pp_error(Context *ctx)
break;

default:
cpy = Min(avail, (int) source->tokenlen);
cpy = Min(avail, (int) state->tokenlen);
if (cpy)
memcpy(ptr, state->token, cpy);
ptr += cpy;
Expand Down

0 comments on commit 43c99c4

Please sign in to comment.