fixed potential unitialized variable

svn-id: r30574
This commit is contained in:
Paweł Kołodziejski 2008-01-19 20:53:28 +00:00
parent d0f80d2743
commit b74d38586d

View File

@ -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())) ||