aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
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())) ||