aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-12-03 08:26:09 -0500
committerClyne Sullivan <tullivan99@gmail.com>2015-12-03 08:26:09 -0500
commit3c8140152bcf72eb1d64b580bb9c1e139bcbe191 (patch)
treed01fef6465eca39950c40dcf77cc9678f2a9457a /src/ui.cpp
parentbf91141782766f3648b62c6d96528fddb9ae7447 (diff)
inv. fixes
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 181803d..e9b262f 100644
--- a/src/ui.cpp
+++ b/src/ui.cpp
@@ -354,15 +354,15 @@ namespace ui {
* Create a wimpy buffer.
*/
- buf = new char[128]; //(char *)calloc(128,sizeof(char));
- memset(buf,0,128*sizeof(char));
+ buf = new char[512]; //(char *)calloc(128,sizeof(char));
+ memset(buf,0,512*sizeof(char));
/*
* Handle the formatted string, printing it to the buffer.
*/
va_start(args,str);
- vsnprintf(buf,128,str,args);
+ vsnprintf(buf,512,str,args);
va_end(args);
/*