forked from mirror/openmw-tes3mp
Fix typo in previous commit
This commit is contained in:
parent
d37f5b3052
commit
6dd59bf51b
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ static String getUniqueName(const String &input)
|
|||
|
||||
static int addon = 0;
|
||||
static char buf[8];
|
||||
sprintf(buf, "_%d", addon++);
|
||||
snprintf(buf, 8, "_%d", addon++);
|
||||
|
||||
// Don't overflow the buffer
|
||||
if(addon > 999999) addon = 0;
|
||||
|
|
Loading…
Reference in a new issue