diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-12-03 08:26:09 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-12-03 08:26:09 -0500 |
commit | 3c8140152bcf72eb1d64b580bb9c1e139bcbe191 (patch) | |
tree | d01fef6465eca39950c40dcf77cc9678f2a9457a /src/ui.cpp | |
parent | bf91141782766f3648b62c6d96528fddb9ae7447 (diff) |
inv. fixes
Diffstat (limited to 'src/ui.cpp')
-rw-r--r-- | src/ui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); /* |