diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-12-22 12:40:34 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-12-22 12:40:34 -0800 |
commit | 37bdb2009265b401aa1af64336d122949ff5d22b (patch) | |
tree | f073a27d1f23e067c7e9f6ecfd3f514483f3b128 /builtin.cpp | |
parent | e31431140a7da60cdebdadbc36ad9bd75e504fea (diff) |
Make event_block_t.event not a reference
Stylistic tweaks
Diffstat (limited to 'builtin.cpp')
-rw-r--r-- | builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.cpp b/builtin.cpp index e22d1c80..d7d06e9c 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -1014,7 +1014,7 @@ static int builtin_emit(parser_t &parser, wchar_t **argv) append_format(stderr_buffer, L"%ls: expected event name\n", argv[0]); return STATUS_BUILTIN_ERROR; } - wchar_t *eventname = argv[woptind]; + const wchar_t *eventname = argv[woptind]; wcstring_list_t args(argv + woptind + 1, argv + argc); event_fire_generic(eventname, &args); |