mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-02 03:16:11 -04:00
this is probably the last of the fixes for the night
This commit is contained in:
@@ -461,7 +461,7 @@ void PixCounter::String::set(const char * format, ...)
|
||||
|
||||
char buffer[512];
|
||||
vsnprintf(buffer, sizeof(buffer), format, va);
|
||||
buffer[sizeof(buffer-1)] = '\0';
|
||||
buffer[sizeof(buffer)-1] = '\0';
|
||||
operator =(buffer);
|
||||
|
||||
va_end(va);
|
||||
|
||||
Reference in New Issue
Block a user