From 4ceec0dfbbc1978c8c59bcf83e3eb75caa9d0e19 Mon Sep 17 00:00:00 2001 From: John Willis Date: Sat, 6 Jun 2009 17:21:50 +0000 Subject: Virtual Keyboard: Fix detection of v_align option when used in the keyboard definition. svn-id: r41232 --- backends/vkeybd/virtual-keyboard-parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends') 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")) -- cgit v1.2.3