diff options
author | Stephen Kennedy | 2008-07-07 15:45:48 +0000 |
---|---|---|
committer | Stephen Kennedy | 2008-07-07 15:45:48 +0000 |
commit | ee8d55375b947bac414e313425e4e872d30c39c7 (patch) | |
tree | 7e39483d990dcd11efc55976b7306b9d43408096 /backends/common/virtual-keyboard.cpp | |
parent | 275ffece2f2e2d39eef3409090b6be28827e0de3 (diff) | |
download | scummvm-rg350-ee8d55375b947bac414e313425e4e872d30c39c7.tar.gz scummvm-rg350-ee8d55375b947bac414e313425e4e872d30c39c7.tar.bz2 scummvm-rg350-ee8d55375b947bac414e313425e4e872d30c39c7.zip |
- updates for GCC compilation - still having linker errors though :(
svn-id: r32944
Diffstat (limited to 'backends/common/virtual-keyboard.cpp')
-rw-r--r-- | backends/common/virtual-keyboard.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/backends/common/virtual-keyboard.cpp b/backends/common/virtual-keyboard.cpp index 0ac6e4efad..f45769940a 100644 --- a/backends/common/virtual-keyboard.cpp +++ b/backends/common/virtual-keyboard.cpp @@ -112,7 +112,7 @@ bool VirtualKeyboard::loadKeyboardPack(Common::String packName) { // if no image then it means layout tag for the // required resolution was missing from the mode tag. if (!it->_value.image) { - warning("'%s' layout missing from '%s' mode", it->_value.resolution, it->_value.name); + warning("'%s' layout missing from '%s' mode", it->_value.resolution.c_str(), it->_value.name.c_str()); return false; } } @@ -134,6 +134,8 @@ void VirtualKeyboard::reposition() case kAlignRight: _pos.x = scrW - keyW; break; + default: + break; } } if (scrH != keyH) { @@ -144,6 +146,8 @@ void VirtualKeyboard::reposition() case kAlignBottom: _pos.y = scrH - keyH; break; + default: + break; } } } @@ -224,6 +228,8 @@ void VirtualKeyboard::runLoop() { case Common::EVENT_QUIT: _system->quit(); return; + default: + break; } } } |