aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-14 19:03:42 +0000
committerGravatar rileya@google.com <rileya@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-14 19:03:42 +0000
commita9baf11e135c6cd2be213975e49a4afdeadd26fa (patch)
treed31ce25dcbfa27a1f15557eb7389480ba3cf9b06
parentcbc4a5d96c5483de4ce621dca9e54833307c8f9c (diff)
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
-rw-r--r--src/core/SkString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkString.cpp b/src/core/SkString.cpp
index d3775a524d..fee614cc03 100644
--- a/src/core/SkString.cpp
+++ b/src/core/SkString.cpp
@@ -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) \