From 626547a7060ce3ceaec2fa735f34e70b14fc9c1e Mon Sep 17 00:00:00 2001 From: Stephen Kennedy Date: Mon, 11 Aug 2008 13:12:32 +0000 Subject: * Updated virtual keyboard pack svn-id: r33776 --- backends/vkeybd/virtual-keyboard-gui.cpp | 2 +- backends/vkeybd/vkeybd.zip | Bin 170515 -> 335613 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/vkeybd/virtual-keyboard-gui.cpp b/backends/vkeybd/virtual-keyboard-gui.cpp index 0dcea70292..1941911472 100644 --- a/backends/vkeybd/virtual-keyboard-gui.cpp +++ b/backends/vkeybd/virtual-keyboard-gui.cpp @@ -65,7 +65,7 @@ void VirtualKeyboardGUI::initMode(VirtualKeyboard::Mode *mode) { return; } _dispX = r.left; - _dispY = r.top + (_dispFont->getFontHeight() - r.height() + 1) / 2; + _dispY = r.top + (r.height() + 1 - _dispFont->getFontHeight()) / 2; _dispSurface.free(); _dispSurface.create(r.width() + 1, _dispFont->getFontHeight(), sizeof(OverlayColor)); _dispI = 0; diff --git a/backends/vkeybd/vkeybd.zip b/backends/vkeybd/vkeybd.zip index 5efbf4f660..e62498cc3d 100644 Binary files a/backends/vkeybd/vkeybd.zip and b/backends/vkeybd/vkeybd.zip differ -- cgit v1.2.3