Remove win_print, use win_printf instead
This commit is contained in:
@@ -85,7 +85,7 @@ api_cons_show_themed(const char *const group, const char *const key, const char
|
||||
char *parsed = str_replace(message, "\r\n", "\n");
|
||||
theme_item_t themeitem = plugin_themes_get(group, key, def);
|
||||
ProfWin *console = wins_get_console();
|
||||
win_print(console, '-', 0, NULL, 0, themeitem, "", parsed);
|
||||
win_printf(console, '-', 0, NULL, 0, themeitem, "", parsed);
|
||||
|
||||
free(parsed);
|
||||
|
||||
@@ -368,7 +368,7 @@ api_win_show(const char *tag, const char *line)
|
||||
}
|
||||
|
||||
ProfWin *window = (ProfWin*)pluginwin;
|
||||
win_print(window, '!', 0, NULL, 0, 0, "", line);
|
||||
win_printf(window, '!', 0, NULL, 0, 0, "", 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_print(window, '!', 0, NULL, 0, themeitem, "", line);
|
||||
win_printf(window, '!', 0, NULL, 0, themeitem, "", line);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user