diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-17 11:36:49 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-17 11:37:25 -0800 |
commit | 9787901ddb05d3ceb4ed4fc66b76581acc37d62e (patch) | |
tree | e8478d3eab028eca5713c3e69e773c898e7ee5a0 /function.cpp | |
parent | 6e58c9f7c8f21b4e5eaa698d275eefe013117cdf (diff) |
Fix for removing too many event handlers (that's why "Goodbye" never got printed")
Diffstat (limited to 'function.cpp')
-rw-r--r-- | function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/function.cpp b/function.cpp index 926865e5..06a284d5 100644 --- a/function.cpp +++ b/function.cpp @@ -214,7 +214,7 @@ static bool function_remove_ignore_autoload(const wcstring &name) if (erased) { event_t ev(EVENT_ANY); - ev.function_name=name.c_str(); + ev.function_name=name; event_remove( &ev ); } return erased; |