aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeeraj Kumar2010-08-07 12:13:12 +0000
committerNeeraj Kumar2010-08-07 12:13:12 +0000
commit8e7cce6e5bbca78556c96ead341e04dfa839ae78 (patch)
tree974c6127e18a076b526406bd9ec116b7c3ca89de
parent421ac2562879d6bae8c01536273cca3c89dbd603 (diff)
downloadscummvm-rg350-8e7cce6e5bbca78556c96ead341e04dfa839ae78.tar.gz
scummvm-rg350-8e7cce6e5bbca78556c96ead341e04dfa839ae78.tar.bz2
scummvm-rg350-8e7cce6e5bbca78556c96ead341e04dfa839ae78.zip
fixed a typo with hotkeys in ButtonWidget
svn-id: r51830
-rw-r--r--gui/widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 07cf4407a2..f8713a14db 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -274,7 +274,7 @@ void StaticTextWidget::drawWidget() {
ButtonWidget::ButtonWidget(GuiObject *boss, int x, int y, int w, int h, const Common::String &label, const char *tooltip, uint32 cmd, uint8 hotkey)
: StaticTextWidget(boss, x, y, w, h, cleanupHotkey(label), Graphics::kTextAlignCenter, tooltip), CommandSender(boss),
- _cmd(cmd) {
+ _cmd(cmd), _hotkey(hotkey) {
if (hotkey == 0)
_hotkey = parseHotkey(label);