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:
parent
cbc4a5d96c
commit
a9baf11e13
@ -15,7 +15,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
// number of bytes (on the stack) to receive the printf result
|
// 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
|
#ifdef SK_BUILD_FOR_WIN
|
||||||
#define VSNPRINTF(buffer, size, format, args) \
|
#define VSNPRINTF(buffer, size, format, args) \
|
||||||
|
Loading…
Reference in New Issue
Block a user