From 55392349bb6cd2c4c0f8e355130dd03a9af1aa51 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 21 Sep 2006 20:10:51 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@298 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/sdlayer.c | 4 ++-- polymer/build/src/winlayer.c | 4 ++-- polymer/eduke32/source/game.c | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/polymer/build/src/sdlayer.c b/polymer/build/src/sdlayer.c index e1e59007d..f6080207e 100644 --- a/polymer/build/src/sdlayer.c +++ b/polymer/build/src/sdlayer.c @@ -88,7 +88,7 @@ static SDL_Surface * loadappicon(void); int wm_msgbox(char *name, char *fmt, ...) { - char buf[1000]; + char buf[2048]; va_list va; va_start(va,fmt); @@ -109,7 +109,7 @@ int wm_msgbox(char *name, char *fmt, ...) int wm_ynbox(char *name, char *fmt, ...) { - char buf[1000]; + char buf[2048]; char c; va_list va; int r; diff --git a/polymer/build/src/winlayer.c b/polymer/build/src/winlayer.c index 389840f60..455ed703d 100644 --- a/polymer/build/src/winlayer.c +++ b/polymer/build/src/winlayer.c @@ -193,7 +193,7 @@ int win_checkinstance(void) // int wm_msgbox(char *name, char *fmt, ...) { - char buf[1000]; + char buf[2048]; va_list va; va_start(va,fmt); @@ -205,7 +205,7 @@ int wm_msgbox(char *name, char *fmt, ...) } int wm_ynbox(char *name, char *fmt, ...) { - char buf[1000]; + char buf[2048]; va_list va; int r; diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index c7547ebda..0895cae98 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -7695,7 +7695,8 @@ void comlinehelp(char **argv) #if !defined(_WIN32) "-usecwd\t\tRead game data and configuration file from working directory\n" #endif - "-condebug, -z#\tLine-by-line CON compilation debugging"; + "-condebug, -z#\tLine-by-line CON compilation debugging" + ; wm_msgbox(apptitle,s); }