Silence gcc warnings.

svn-id: r50902
This commit is contained in:
Matthew Hoops 2010-07-15 01:48:28 +00:00
parent e47c64dd34
commit 69bf70d693

View File

@ -2122,7 +2122,7 @@ bool SdlGraphicsManager::notifyEvent(const Common::Event &event) {
// Alt-Return and Alt-Enter toggle full screen mode
if (event.kbd.hasFlags(Common::KBD_ALT) &&
(event.kbd.keycode == Common::KEYCODE_RETURN ||
event.kbd.keycode == SDLK_KP_ENTER)) {
event.kbd.keycode == (Common::KeyCode)SDLK_KP_ENTER)) {
toggleFullScreen();
return true;
}
@ -2170,6 +2170,8 @@ bool SdlGraphicsManager::notifyEvent(const Common::Event &event) {
/*case SDL_VIDEOEXPOSE:
_forceFull = true;
return false;*/
default:
break;
}
return false;