diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-08 16:20:48 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-08 16:20:48 -0800 |
commit | b3d0561c09c090a00544a24f1fcafb975a9d6915 (patch) | |
tree | 28cc4a33ccf595ef774426b06cd09cf16d898061 /parser.cpp | |
parent | 1bbe901bcdce2b5b4c4786bf472c92eefa59754b (diff) |
Cleanup event_get_desc
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -881,7 +881,8 @@ void parser_t::stack_trace( block_t *b, string_buffer_t *buff) /* This is an event handler */ - sb_printf( buff, _(L"in event handler: %ls\n"), event_get_desc( b->state1<event_t *>() )); + wcstring description = event_get_desc( b->state1<event_t *>() ); + sb_printf( buff, _(L"in event handler: %ls\n"), description.c_str()); sb_printf( buff, L"\n" ); |