Use win_printf_line where appropriate

This commit is contained in:
James Booth
2016-10-15 00:39:57 +01:00
parent 33b4b79f2e
commit 8cf9e0cccc
8 changed files with 105 additions and 105 deletions

View File

@@ -368,7 +368,7 @@ api_win_show(const char *tag, const char *line)
}
ProfWin *window = (ProfWin*)pluginwin;
win_printf(window, '!', 0, NULL, 0, THEME_DEFAULT, "", "%s", line);
win_printf_line(window, THEME_DEFAULT, '!', "%s", line);
return 1;
}
@@ -393,7 +393,7 @@ api_win_show_themed(const char *tag, const char *const group, const char *const
theme_item_t themeitem = plugin_themes_get(group, key, def);
ProfWin *window = (ProfWin*)pluginwin;
win_printf(window, '!', 0, NULL, 0, themeitem, "", "%s", line);
win_printf_line(window, themeitem, '!', "%s", line);
return 1;
}