aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-12-03 09:29:46 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-12-03 09:29:46 -0500
commit8a342f76c838b8240d6d5fa99c624726e5d589a8 (patch)
tree566d2c037860ded5aac06ca333df9f0c55c4ca88 /src/ui.cpp
parent8a2f08dc35632a9a8e5272a629e0b4770d567c3a (diff)
parent3c8140152bcf72eb1d64b580bb9c1e139bcbe191 (diff)
Merge branch 'master' of http://github.com/tcsullivan/gamedev
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 31a9056..84ea2dc 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);
/*