forked from e16/e16
1
0
Fork 0

Fix backward compatibility "named" menu hack.

SVN revision: 33188
This commit is contained in:
Kim Woelders 2007-12-19 21:00:47 +00:00
parent 594a948a88
commit 996ddc4bc3
1 changed files with 4 additions and 1 deletions

View File

@ -2106,7 +2106,10 @@ MenusIpc(const char *params)
if (*p == '\0')
p = NULL;
if (p && !strcmp(prm, "named"))
Esnprintf(prm, sizeof(prm), "%s", p);
{
Esnprintf(prm, sizeof(prm), "%s", p);
p = NULL;
}
SoundPlay("SOUND_MENU_SHOW");
MenusShowNamed(prm, p);
}