Double size of buffer for SkString::printf()

Review URL: https://codereview.appspot.com/6503120

git-svn-id: http://skia.googlecode.com/svn/trunk@5555 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
rileya@google.com 2012-09-14 19:03:42 +00:00
parent cbc4a5d96c
commit a9baf11e13

View File

@ -15,7 +15,7 @@
#include <stdio.h>
// number of bytes (on the stack) to receive the printf result
static const size_t kBufferSize = 256;
static const size_t kBufferSize = 512;
#ifdef SK_BUILD_FOR_WIN
#define VSNPRINTF(buffer, size, format, args) \