Restored the String::vsprintf buffer to 1024 characters, it only was 64 characters long for testing.

Wed, 20 Jul 2016 17:53:13 +0300

author
Teemu Piippo <teemu@compsta2.com>
date
Wed, 20 Jul 2016 17:53:13 +0300
changeset 149
7643c21d546b
parent 148
19e98695e584
child 150
37db42ad451a
child 152
6be21be4bea1

Restored the String::vsprintf buffer to 1024 characters, it only was 64 characters long for testing.

sources/mystring.cpp file | annotate | diff | comparison | revisions
--- a/sources/mystring.cpp	Wed Jul 20 17:47:42 2016 +0300
+++ b/sources/mystring.cpp	Wed Jul 20 17:53:13 2016 +0300
@@ -387,7 +387,7 @@
 	va_copy(argsCopy, args);
 
 	// First, attempt to format using a fixed-size buffer.
-	static char buffer[64];
+	static char buffer[1024];
 	size_t length = vsnprintf(buffer, sizeof buffer, formatString, args);
 
 	if (length < sizeof buffer)

mercurial