fixed error if compiling w/o cd
This commit is contained in:
parent
440f311117
commit
4fa70dbb9d
1 changed files with 2 additions and 0 deletions
|
@ -1416,9 +1416,11 @@ local void InitSoundOptions(Menuitem *mi __attribute__((unused)))
|
|||
} else {
|
||||
menu->items[11].flags = 0;
|
||||
}
|
||||
#if defined(USE_LIBCDA) || defined(USE_SDLCD)
|
||||
if (strcmp(":off", CDMode) && strcmp(":stopped", CDMode)) {
|
||||
menu->items[11].flags = -1;
|
||||
}
|
||||
#endif
|
||||
if (PlayingMusic != 1 || SoundFildes == -1) {
|
||||
menu->items[11].d.gem.state = MI_GSTATE_UNCHECKED;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue