From 54cf1dbec43ccc3c300a04c26c8da54538f2da32 Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 14 Oct 2016 23:38:39 +0100 Subject: Add win_printf_line --- src/command/cmd_funcs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/command') diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 7d4f0064..08d80466 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -3108,7 +3108,7 @@ cmd_status(ProfWin *window, const char *const command, gchar **args) if (occupant) { win_show_occupant(window, occupant); } else { - win_printf(window, '-', 0, NULL, 0, 0, "", "No such participant \"%s\" in room.", usr); + win_printf_line(window, THEME_DEFAULT, "No such participant \"%s\" in room.", usr); } } else { ui_current_print_line("You must specify a nickname."); @@ -4681,13 +4681,13 @@ cmd_tiny(ProfWin *window, const char *const command, gchar **args) } if (!tinyurl_valid(url)) { - win_printf(window, '-', 0, NULL, 0, THEME_ERROR, "", "/tiny, badly formed URL: %s", url); + win_printf_line(window, THEME_ERROR, "/tiny, badly formed URL: %s", url); return TRUE; } char *tiny = tinyurl_get(url); if (!tiny) { - win_printf(window, '-', 0, NULL, 0, THEME_ERROR, "", "Couldn't create tinyurl."); + win_printf_line(window, THEME_ERROR, "Couldn't create tinyurl."); return TRUE; } -- cgit 1.4.1-2-gfad0