aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-01-19 20:53:28 +0000
committerPaweł Kołodziejski2008-01-19 20:53:28 +0000
commitb74d38586d69a375c53e3c1ef3aaaea2ed0aaf0a (patch)
treef01699d2573d90e51d7bd4d2ab802f5b5bb86bc5 /engines/lure
parentd0f80d274389cbcd45d0b4bdb393c6fb0028c256 (diff)
downloadscummvm-rg350-b74d38586d69a375c53e3c1ef3aaaea2ed0aaf0a.tar.gz
scummvm-rg350-b74d38586d69a375c53e3c1ef3aaaea2ed0aaf0a.tar.bz2
scummvm-rg350-b74d38586d69a375c53e3c1ef3aaaea2ed0aaf0a.zip
fixed potential unitialized variable
svn-id: r30574
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp
index 64b7be9b1b..dd72ba31c9 100644
--- a/engines/lure/surface.cpp
+++ b/engines/lure/surface.cpp
@@ -987,7 +987,7 @@ bool SaveRestoreDialog::show(bool saveDialog) {
if (events.type() == Common::EVENT_MOUSEMOVE ||
events.type() == Common::EVENT_WHEELUP || events.type() == Common::EVENT_WHEELDOWN) {
// Mouse movement
- int lineNum;
+ int lineNum = 0;
if (events.type() == Common::EVENT_MOUSEMOVE) {
if ((mouse.x() < (SAVE_DIALOG_X + Surface::textX())) ||