diff options
author | James Booth <boothj5@gmail.com> | 2016-10-11 23:38:59 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-10-11 23:38:59 +0100 |
commit | 0890179fc42a7304dc03c76bd680e61a43f6e072 (patch) | |
tree | 5ea745734e3ddf78dc89c8e08377b70a5c5914f9 /src/plugins | |
parent | 0337c5b22c8138ea7473b15e0687a04acb4eb70a (diff) | |
download | profani-tty-0890179fc42a7304dc03c76bd680e61a43f6e072.tar.gz |
Remove win_print, use win_printf instead
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/api.c b/src/plugins/api.c index b504237b..3de5efab 100644 --- a/src/plugins/api.c +++ b/src/plugins/api.c @@ -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; } |