aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-03 21:30:36 +0000
committerMartin Kiewitz2009-10-03 21:30:36 +0000
commit93c3d07e2b459d8b9d20e857e430986b24420fe4 (patch)
treea9d683a3350f94d5c16f12b9f13b02effac73ec6 /engines
parent75de46e9ab69d189e2831bdd3a6af2a1d27de15a (diff)
downloadscummvm-rg350-93c3d07e2b459d8b9d20e857e430986b24420fe4.tar.gz
scummvm-rg350-93c3d07e2b459d8b9d20e857e430986b24420fe4.tar.bz2
scummvm-rg350-93c3d07e2b459d8b9d20e857e430986b24420fe4.zip
SCI/newgui: constant 0xFFFF -> -1
svn-id: r44573
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gui/gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 9933379eb5..fe3d6f00d5 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -124,7 +124,7 @@ void SciGUI::display(const char *text, int argc, reg_t *argv) {
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 @@ void SciGUI::display(const char *text, int argc, reg_t *argv) {
// _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