aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJohn Willis2009-06-06 17:21:50 +0000
committerJohn Willis2009-06-06 17:21:50 +0000
commit4ceec0dfbbc1978c8c59bcf83e3eb75caa9d0e19 (patch)
tree05a96f181851da4723c117fe8b934ab67944bc58 /backends
parent22ab4cc4c4cb197432742c59f695937e29af3159 (diff)
downloadscummvm-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.cpp2
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"))