mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 16:03:05 +00:00
fixed potential unitialized variable
svn-id: r30574
This commit is contained in:
parent
d0f80d2743
commit
b74d38586d
@ -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())) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user