From bb4b2a506005dec449b854a2842550007ed46b1e Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 5 May 2009 13:40:16 +0000 Subject: Fix input glitch regression again, by closer matching original PN code. svn-id: r40329 --- engines/agos/saveload.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/agos/saveload.cpp') diff --git a/engines/agos/saveload.cpp b/engines/agos/saveload.cpp index edaa1fab02..16bde0097b 100644 --- a/engines/agos/saveload.cpp +++ b/engines/agos/saveload.cpp @@ -882,10 +882,10 @@ void AGOSEngine::disableFileBoxes() { } void AGOSEngine::userGameBackSpace(WindowBlock *window, int x, byte b) { - byte old_text; + byte oldTextColor; windowPutChar(window, x, b); - old_text = window->textColor; + oldTextColor = window->textColor; window->textColor = window->fillColor; if (_language == Common::HB_ISR) { @@ -898,7 +898,7 @@ void AGOSEngine::userGameBackSpace(WindowBlock *window, int x, byte b) { windowPutChar(window, x); - window->textColor = old_text; + window->textColor = oldTextColor; windowPutChar(window, 8); } -- cgit v1.2.3