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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user