diff options
author | Max Horn | 2002-12-01 02:04:55 +0000 |
---|---|---|
committer | Max Horn | 2002-12-01 02:04:55 +0000 |
commit | 2450640218b204b9ce26045d697846922668ba7b (patch) | |
tree | 2251430c3aa707d06c86b0d0f1e61ae0bc4176c2 /gui | |
parent | 6c6ca7b90210b95fddcf14108a7d0b6d3f088c20 (diff) | |
download | scummvm-rg350-2450640218b204b9ce26045d697846922668ba7b.tar.gz scummvm-rg350-2450640218b204b9ce26045d697846922668ba7b.tar.bz2 scummvm-rg350-2450640218b204b9ce26045d697846922668ba7b.zip |
fix for bug #646218 (Start button in launcher was not getting disabled)
svn-id: r5766
Diffstat (limited to 'gui')
-rw-r--r-- | gui/launcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 0d6a3b5e86..d0be18ad47 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -449,7 +449,7 @@ void LauncherDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat close(); break; case kListSelectionChangedCmd: { - bool enable = (data >= 0); + bool enable = ((int)data >= 0); if (enable != _startButton->isEnabled()) { _startButton->setEnabled(enable); _startButton->draw(); |