Skip to content

Commit

Permalink
Fixed translation tables not loading correctly (dd_snprintf behaviour).
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Jun 18, 2009
1 parent af1c8b7 commit 2034f67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doomsday/plugins/common/src/g_game.c
Expand Up @@ -622,8 +622,7 @@ void R_LoadColorPalettes(void)
char name[9];
lumpnum_t lump;

dd_snprintf(name, 8, "TRANTBL%X", i);
name[8] = '\0';
dd_snprintf(name, 9, "TRANTBL%X", i);

if((lump = W_CheckNumForName(name)) != -1)
{
Expand Down

0 comments on commit 2034f67

Please sign in to comment.