From 275fdc8552c213669daee796fc0b403210f288e2 Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 4 Jul 2008 01:43:45 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@837 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/osd.c | 6 ++++-- polymer/eduke32/source/game.c | 6 +++--- polymer/eduke32/source/osdcmds.c | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/polymer/build/src/osd.c b/polymer/build/src/osd.c index 54f6b521b..29e43d0d7 100644 --- a/polymer/build/src/osd.c +++ b/polymer/build/src/osd.c @@ -702,12 +702,14 @@ int OSD_HandleChars(void) if (findsymbol(osdedittmp, tabc->next)) { symbol_t *symb=tabc; - int maxwidth = 0, x = 0; + int maxwidth = 0, x = 0, num = 0; while (symb && symb != lastmatch) { int diffpt; + num++; + if (lastmatch) { diffpt = OSD_FindDiffPoint(symb->name,lastmatch->name); @@ -722,7 +724,7 @@ int OSD_HandleChars(void) lastmatch = symb; symb=findsymbol(osdedittmp, lastmatch->next); } - OSD_Printf("Completions for '%s':\n",osdedittmp); + OSD_Printf("Found %d completions for '%s':\n",num,osdedittmp); maxwidth += 3; symb = tabc; OSD_Printf(" "); diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 654111da5..7c61e8355 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -54,7 +54,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include extern int getversionfromwebsite(char *buffer); -#define BUILDDATE 20080702 +#define BUILDDATE 20080703 #define UPDATEINTERVAL 604800 // 1w #endif @@ -10464,8 +10464,8 @@ void app_main(int argc,const char **argv) (int(*)(void))GetTime, GAME_onshowosd ); - OSD_SetParameters(0,10, 0,12, 4,12); - OSD_SetVersionString(HEAD2,0,0); + OSD_SetParameters(10,0, 0,12, 4,12); + OSD_SetVersionString(HEAD2, 10,0); registerosdcommands(); if (setgamemode(ud.config.ScreenMode,ud.config.ScreenWidth,ud.config.ScreenHeight,ud.config.ScreenBPP) < 0) diff --git a/polymer/eduke32/source/osdcmds.c b/polymer/eduke32/source/osdcmds.c index 89f64ae60..a5ce3384f 100644 --- a/polymer/eduke32/source/osdcmds.c +++ b/polymer/eduke32/source/osdcmds.c @@ -1240,7 +1240,7 @@ int registerosdcommands(void) OSD_RegisterFunction("fileinfo","fileinfo : gets a file's information", osdcmd_fileinfo); - for (i=0;i