[Scummvm-cvs-logs] SF.net SVN: scummvm:[44573] scummvm/trunk/engines/sci/gui/gui.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Oct 3 23:30:36 CEST 2009


Revision: 44573
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44573&view=rev
Author:   m_kiewitz
Date:     2009-10-03 21:30:36 +0000 (Sat, 03 Oct 2009)

Log Message:
-----------
SCI/newgui: constant 0xFFFF -> -1

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui.cpp

Modified: scummvm/trunk/engines/sci/gui/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui.cpp	2009-10-03 21:27:01 UTC (rev 44572)
+++ scummvm/trunk/engines/sci/gui/gui.cpp	2009-10-03 21:30:36 UTC (rev 44573)
@@ -124,7 +124,7 @@
 	int displayArg;
 	sciPort oldPort;
 	int16 align = 0;
-	int16 bgcolor = -1, width = 0xFFFF, bRedraw = 1;
+	int16 bgcolor = -1, width = -1, bRedraw = 1;
 	byte bSaveUnder = false;
 	Common::Rect rect, *orect = &((sciWnd *)_gfx->GetPort())->rect0;
 
@@ -196,7 +196,7 @@
 //		_acc = _gfx->SaveBits(rect, 1);
 	if (bgcolor != -1)
 		_gfx->FillRect(rect, 1, bgcolor, 0, 0);
-	_gfx->TextBox(text, 0, rect, align, 0xFFFF);
+	_gfx->TextBox(text, 0, rect, align, -1);
 //	if (_picNotValid == 0 && bRedraw)
 //		_gfx->ShowBits(rect, 1);
 	// restoring port and cursor pos


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