From: Laszlo T. <ave...@us...> - 2011-12-26 12:25:26
|
gemrb: Infinity Engine emulator The branch master has been updated via 7ea3fe62715e143bbf620987368b10507b870c0c (commit) Summary of changes: gemrb/core/GUI/Control.cpp | 2 +- gemrb/core/GUI/Control.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) from f06251cf5767a662db808a61d5910e24c93a206b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=7ea3fe62715e143bbf620987368b10507b870c0c commit 7ea3fe62715e143bbf620987368b10507b870c0c Author: Avenger <ave...@so...> Date: Mon Dec 26 13:24:31 2011 +0100 fixed ResetEventHandler to actually do something diff --git a/gemrb/core/GUI/Control.cpp b/gemrb/core/GUI/Control.cpp index b5d4a18..f0cdbe8 100644 --- a/gemrb/core/GUI/Control.cpp +++ b/gemrb/core/GUI/Control.cpp @@ -93,7 +93,7 @@ void Control::DisplayTooltip() core->DisplayTooltip( 0, 0, NULL ); } -void Control::ResetEventHandler(EventHandler handler) +void Control::ResetEventHandler(EventHandler &handler) { handler = NULL; } diff --git a/gemrb/core/GUI/Control.h b/gemrb/core/GUI/Control.h index 93a15f0..8808291 100644 --- a/gemrb/core/GUI/Control.h +++ b/gemrb/core/GUI/Control.h @@ -113,7 +113,7 @@ public: // Public attributes ieDword FunctionNumber; public: //Events /** Reset/init event handler */ - void ResetEventHandler(EventHandler handler); + void ResetEventHandler(EventHandler &handler); /** Returns the Owner */ Window *GetOwner() const { return Owner; } /** Set the Flags */ ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |