gcc warning fxi

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1970 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-05-14 20:06:47 +00:00
parent 69720a6134
commit 2731900632
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -15,7 +15,7 @@ void menuset(void *m)
if((curmenu = (gmenu *)m)) curmenu->open();
}
void showmenu(char *name)
void showmenu(const char *name)
{
if(!name)
{
@@ -769,4 +769,5 @@ void refreshapplymenu(void *menu, bool init)
m->items.add(new mitemtext(m, newstring("Yes"), newstring("resetgl"), NULL, NULL));
m->items.add(new mitemtext(m, newstring("No"), newstring("echo [..restart AssaultCube to apply the new settings]"), NULL, NULL));
m->menusel = m->items.length()-2; // select OK
}
}