mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Fix command exec error output
This commit is contained in:
parent
771d90c766
commit
db1ffae3bd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user