[Scummvm-cvs-logs] SF.net SVN: scummvm:[41714] scummvm/trunk/engines/kyra/gui_lol.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sat Jun 20 17:09:56 CEST 2009


Revision: 41714
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41714&view=rev
Author:   athrxx
Date:     2009-06-20 15:09:55 +0000 (Sat, 20 Jun 2009)

Log Message:
-----------
LOL: cleanup

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_lol.cpp

Modified: scummvm/trunk/engines/kyra/gui_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_lol.cpp	2009-06-20 14:26:01 UTC (rev 41713)
+++ scummvm/trunk/engines/kyra/gui_lol.cpp	2009-06-20 15:09:55 UTC (rev 41714)
@@ -2333,27 +2333,22 @@
 			_screen->fprintString(_saveDescription, (d->sx << 3), d->sy + 2, d->unk8, d->unkA, 0);	
 			_screen->fillRect((d->sx << 3) + fC, d->sy, (d->sx << 3) + fC + wW, d->sy + d->h - 1, d->unk8, 0);
 			_screen->setCurPage(pg);
-			_screen->updateScreen();
 		}
 
 		while (!_newMenu && _displayMenu) {
 			processHighlights(*_currentMenu);
 
 			if (_currentMenu == &_savenameMenu) {
-				fC = _screen->getTextWidth(_saveDescription);
-				int pg = _screen->setCurPage(0);
-
 				if (textCursorTimer <= _vm->_system->getMillis()) {
+					fC = _screen->getTextWidth(_saveDescription);
 					textCursorStatus ^= 1;
 					textCursorTimer = _vm->_system->getMillis() + 20 * _vm->_tickLength;
 					_screen->fillRect((d->sx << 3) + fC, d->sy, (d->sx << 3) + fC + wW, d->sy + d->h - 1, textCursorStatus ? d->unk8 : d->unkA, 0);
-				}
-				
-				_screen->updateScreen();
-				_screen->setCurPage(pg);
+					_screen->updateScreen();
+				}				
 			}
 
-			if (getInput()) {			
+			if (getInput()) {				
 				if (!_newMenu)
 					_newMenu = _currentMenu;
 				else


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list