From 69d7c1d2ca7f569a39abcc18f24bf3a1ef47080c Mon Sep 17 00:00:00 2001 From: Stephen Kennedy Date: Thu, 7 Aug 2008 13:19:00 +0000 Subject: * Some Valgrind fixes * Got rid of svn:mergeinfo properties svn-id: r33677 --- backends/common/virtual-keyboard-gui.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends/common/virtual-keyboard-gui.cpp') diff --git a/backends/common/virtual-keyboard-gui.cpp b/backends/common/virtual-keyboard-gui.cpp index 162ce48240..ca246a17a1 100644 --- a/backends/common/virtual-keyboard-gui.cpp +++ b/backends/common/virtual-keyboard-gui.cpp @@ -43,6 +43,8 @@ VirtualKeyboardGUI::VirtualKeyboardGUI(VirtualKeyboard *kbd) { _firstRun = true; _displayEnabled = false; + + _cursorAnimateTimer = 0; } void VirtualKeyboardGUI::initMode(VirtualKeyboard::Mode *mode) { @@ -266,6 +268,7 @@ void VirtualKeyboardGUI::redraw() { OverlayColor *scr = (OverlayColor *)surf.pixels; const OverlayColor *ove = (OverlayColor *) _overlayBackup.getBasePtr(_dirtyRect.left, _dirtyRect.top); int16 h = surf.h; + while (h-- > 0) { memcpy(scr, ove, surf.w * sizeof(OverlayColor)); scr += surf.w; -- cgit v1.2.3