[Scummvm-cvs-logs] SF.net SVN: scummvm:[51830] scummvm/trunk/gui/widget.cpp

sud03r at users.sourceforge.net sud03r at users.sourceforge.net
Sat Aug 7 14:13:12 CEST 2010


Revision: 51830
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51830&view=rev
Author:   sud03r
Date:     2010-08-07 12:13:12 +0000 (Sat, 07 Aug 2010)

Log Message:
-----------
fixed a typo with hotkeys in ButtonWidget

Modified Paths:
--------------
    scummvm/trunk/gui/widget.cpp

Modified: scummvm/trunk/gui/widget.cpp
===================================================================
--- scummvm/trunk/gui/widget.cpp	2010-08-07 08:59:43 UTC (rev 51829)
+++ scummvm/trunk/gui/widget.cpp	2010-08-07 12:13:12 UTC (rev 51830)
@@ -274,7 +274,7 @@
 
 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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list