1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

core: fix output of /eval -n when there is a tab in output

This commit is contained in:
Sebastien Helleu
2014-02-28 14:34:49 +01:00
parent ea71121723
commit a4c385db99
+3 -3
View File
@@ -1685,10 +1685,10 @@ COMMAND_CALLBACK(eval)
if (expr)
{
result = eval_expression (expr, NULL, NULL, options);
gui_chat_printf_date_tags (NULL, 0, "no_log", ">> %s", ptr_args);
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t>> %s", ptr_args);
if (result)
{
gui_chat_printf_date_tags (NULL, 0, "no_log", "== %s[%s%s%s]",
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s[%s%s%s]",
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
result,
@@ -1696,7 +1696,7 @@ COMMAND_CALLBACK(eval)
}
else
{
gui_chat_printf_date_tags (NULL, 0, "no_log", "== %s<%s%s%s>",
gui_chat_printf_date_tags (NULL, 0, "no_log", "\t== %s<%s%s%s>",
GUI_COLOR(GUI_COLOR_CHAT_DELIMITERS),
GUI_COLOR(GUI_COLOR_CHAT),
_("error"),