aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2006-10-08 19:45:27 +0000
committerJohannes Schickel2006-10-08 19:45:27 +0000
commit7f1ddf9ccede2cf0ecb0e2288d6360371b926c57 (patch)
treed0781fee51b38d264e4df7a61e9ea7a873a149bc /gui
parent430317dc92b58470d0b66987717ba33cf71f0930 (diff)
downloadscummvm-rg350-7f1ddf9ccede2cf0ecb0e2288d6360371b926c57.tar.gz
scummvm-rg350-7f1ddf9ccede2cf0ecb0e2288d6360371b926c57.tar.bz2
scummvm-rg350-7f1ddf9ccede2cf0ecb0e2288d6360371b926c57.zip
Fixed compile.
svn-id: r24227
Diffstat (limited to 'gui')
-rw-r--r--gui/themebrowser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/themebrowser.cpp b/gui/themebrowser.cpp
index c8beea392d..d81d43db6f 100644
--- a/gui/themebrowser.cpp
+++ b/gui/themebrowser.cpp
@@ -67,7 +67,7 @@ void ThemeBrowser::handleCommand(CommandSender *sender, uint32 cmd, uint32 data)
switch (cmd) {
case kChooseCmd:
case kListItemActivatedCmd:
- case kListItemDoubleClickedCmd:
+ case kListItemDoubleClickedCmd: {
int selection = _fileList->getSelected();
if (selection < 0)
break;
@@ -75,6 +75,7 @@ void ThemeBrowser::handleCommand(CommandSender *sender, uint32 cmd, uint32 data)
setResult(1);
close();
break;
+ }
default:
Dialog::handleCommand(sender, cmd, data);
}