about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-15 17:07:15 +0100
committerJames Booth <boothj5@gmail.com>2016-10-15 17:07:15 +0100
commit9d075c980597306aec6e167bd84379e8211b4135 (patch)
tree362a21bd195b6d4e4b59642cc706fc7f80078670 /src/ui
parent864939b809ce1fc2d5999316dddd0786aaac9d48 (diff)
downloadprofani-tty-9d075c980597306aec6e167bd84379e8211b4135.tar.gz
Remove ui_win_error_line
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/core.c6
-rw-r--r--src/ui/ui.h1
2 files changed, 0 insertions, 7 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 9347ca66..dd6b56e1 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -758,12 +758,6 @@ ui_current_print_formatted_line(const char show_char, int attrs, const char *con
 }
 
 void
-ui_win_error_line(ProfWin *window, const char *const msg)
-{
-    win_printf_line(window, THEME_ERROR, '-', "%s", msg);
-}
-
-void
 ui_current_error_line(const char *const msg)
 {
     ProfWin *current = wins_get_current();
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 26febee8..f0302a3a 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -78,7 +78,6 @@ int ui_close_read_wins(void);
 void ui_current_print_line(const char *const msg, ...);
 void ui_current_print_formatted_line(const char show_char, int attrs, const char *const msg, ...);
 void ui_current_error_line(const char *const msg);
-void ui_win_error_line(ProfWin *window, const char *const msg);
 void ui_close_win(int index);
 int ui_win_unread(int index);
 char* ui_ask_password(void);