comparison gui/interface.c @ 33650:4af19d03b4e8

Simplify code concerning guiGetEvent type guiSetAudioOnly.
author ib
date Mon, 27 Jun 2011 10:46:25 +0000
parents 3f6782208075
children ede9413501da
comparison
equal deleted inserted replaced
33649:0f08a24d8109 33650:4af19d03b4e8
593 593
594 case guiSetAudioOnly: 594 case guiSetAudioOnly:
595 595
596 guiInfo.AudioOnly = (int)arg; 596 guiInfo.AudioOnly = (int)arg;
597 597
598 if ((int)arg) { 598 if (guiInfo.AudioOnly) {
599 guiInfo.NoWindow = True; 599 guiInfo.NoWindow = True;
600 wsVisibleWindow(&guiApp.subWindow, wsHideWindow); 600 wsVisibleWindow(&guiApp.subWindow, wsHideWindow);
601 } else 601 } else
602 wsVisibleWindow(&guiApp.subWindow, wsShowWindow); 602 wsVisibleWindow(&guiApp.subWindow, wsShowWindow);
603 603