1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Fix command exec error output

This commit is contained in:
Paul Fariello 2018-09-05 14:17:26 +02:00
parent 771d90c766
commit db1ffae3bd

View File

@ -1745,7 +1745,7 @@ win_command_exec_error(ProfWin *window, const char *const command, const char *c
GString *msg = g_string_new(NULL);
g_string_vprintf(msg, error, arg);
win_println(window, THEME_ERROR, '!', "Error executing command %s: %s", command, msg);
win_println(window, THEME_ERROR, '!', "Error executing command %s: %s", command, msg->str);
g_string_free(msg, TRUE);
va_end(arg);