Skip to content

Commit

Permalink
Fixing an issue with DLL data replacement.
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed Jan 13, 2016
1 parent c486dcd commit 0a1a3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SADXModLoader/dllmain.cpp
Expand Up @@ -2246,7 +2246,7 @@ static void __cdecl InitMods(void)
char buf[9];
for (int k = 0; k < 9999; k++)
{
_snprintf(buf, 5, "Item%d", k);
_snprintf(buf, sizeof(buf), "Item%d", k);
if (dlldata->hasGroup(buf))
{
group = dlldata->getGroup(buf);
Expand Down

0 comments on commit 0a1a3f4

Please sign in to comment.