mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 06:21:29 -04:00
Fix typo in previous commit
This commit is contained in:
parent
d37f5b3052
commit
6dd59bf51b
@ -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…
x
Reference in New Issue
Block a user