From b74d38586d69a375c53e3c1ef3aaaea2ed0aaf0a Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 19 Jan 2008 20:53:28 +0000 Subject: fixed potential unitialized variable svn-id: r30574 --- engines/lure/surface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/lure') 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())) || -- cgit v1.2.3