aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.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 /parser.cpp
parent6e58c9f7c8f21b4e5eaa698d275eefe013117cdf (diff)
Fix for removing too many event handlers (that's why "Goodbye" never got printed")
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.cpp b/parser.cpp
index e5cc65c2..2453a37b 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -868,7 +868,7 @@ void parser_t::stack_trace( block_t *b, string_buffer_t *buff)
/*
This is an event handler
*/
- wcstring description = event_get_desc( b->state1<event_t *>() );
+ wcstring description = event_get_desc( b->state1<const event_t *>() );
sb_printf( buff, _(L"in event handler: %ls\n"), description.c_str());
sb_printf( buff,
L"\n" );