aboutsummaryrefslogtreecommitdiffhomepage
path: root/function.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-17 11:36:49 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-17 11:37:25 -0800
commit9787901ddb05d3ceb4ed4fc66b76581acc37d62e (patch)
treee8478d3eab028eca5713c3e69e773c898e7ee5a0 /function.cpp
parent6e58c9f7c8f21b4e5eaa698d275eefe013117cdf (diff)
Fix for removing too many event handlers (that's why "Goodbye" never got printed")
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp2
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;