diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index 9eaa0118..d44795d5 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1101,7 +1101,7 @@ _win_correct(ProfWin *window, const char *const message, const char *const id, c void win_print_incoming(ProfWin *window, const char *const display_name_from, ProfMessage *message) { - char *enc_char = "-"; + char *enc_char = strdup("-"); int flags = NO_ME; if (!message->trusted) { |