diff options
author | John Willis | 2009-06-06 17:21:50 +0000 |
---|---|---|
committer | John Willis | 2009-06-06 17:21:50 +0000 |
commit | 4ceec0dfbbc1978c8c59bcf83e3eb75caa9d0e19 (patch) | |
tree | 05a96f181851da4723c117fe8b934ab67944bc58 /backends | |
parent | 22ab4cc4c4cb197432742c59f695937e29af3159 (diff) | |
download | scummvm-rg350-4ceec0dfbbc1978c8c59bcf83e3eb75caa9d0e19.tar.gz scummvm-rg350-4ceec0dfbbc1978c8c59bcf83e3eb75caa9d0e19.tar.bz2 scummvm-rg350-4ceec0dfbbc1978c8c59bcf83e3eb75caa9d0e19.zip |
Virtual Keyboard: Fix detection of v_align option when used in the keyboard definition.
svn-id: r41232
Diffstat (limited to 'backends')
-rw-r--r-- | backends/vkeybd/virtual-keyboard-parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/vkeybd/virtual-keyboard-parser.cpp b/backends/vkeybd/virtual-keyboard-parser.cpp index 3e40ffc1fa..5ae53f08ec 100644 --- a/backends/vkeybd/virtual-keyboard-parser.cpp +++ b/backends/vkeybd/virtual-keyboard-parser.cpp @@ -87,7 +87,7 @@ bool VirtualKeyboardParser::parserCallback_keyboard(ParserNode *node) { } if (node->values.contains("v_align")) { - String v = node->values["h_align"]; + String v = node->values["v_align"]; if (v.equalsIgnoreCase("top")) _keyboard->_vAlignment = VirtualKeyboard::kAlignTop; else if (v.equalsIgnoreCase("middle") || v.equalsIgnoreCase("center")) |