reference'ize event.cpp/h

This commit is contained in:
Jan Kanis
2012-12-20 11:48:36 +01:00
parent 71233ee894
commit 30392bf66a
5 changed files with 82 additions and 82 deletions

View File

@@ -893,7 +893,7 @@ void parser_t::stack_trace(block_t *b, wcstring &buff)
This is an event handler
*/
const event_block_t *eb = static_cast<const event_block_t *>(b);
wcstring description = event_get_desc(eb->event);
wcstring description = event_get_desc(*eb->event);
append_format(buff, _(L"in event handler: %ls\n"), description.c_str());
buff.append(L"\n");