From caa9556295e5d1aa6b3cc82558030f359f1bbbf8 Mon Sep 17 00:00:00 2001 From: James Booth Date: Fri, 20 Apr 2012 01:48:42 +0100 Subject: [PATCH] Renamed title_bar_redraw -> title_bar_resize --- title_bar.c | 2 +- windows.c | 2 +- windows.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/title_bar.c b/title_bar.c index 09182da3..598622b1 100644 --- a/title_bar.c +++ b/title_bar.c @@ -63,7 +63,7 @@ void title_bar_disconnected(void) _title_bar_draw_status(); } -void title_bar_redraw(void) +void title_bar_resize(void) { int rows, cols; getmaxyx(stdscr, rows, cols); diff --git a/windows.c b/windows.c index d0af3ffa..99180726 100644 --- a/windows.c +++ b/windows.c @@ -108,7 +108,7 @@ void gui_close(void) void gui_resize(const int ch, const char * const input, const int size) { - title_bar_redraw(); + title_bar_resize(); create_status_bar(); create_input_window(); inp_win_write(input, size); diff --git a/windows.h b/windows.h index 7436a8a8..80ee5caf 100644 --- a/windows.h +++ b/windows.h @@ -47,7 +47,7 @@ void create_input_window(void); // title bar actions void title_bar_refresh(void); -void title_bar_redraw(void); +void title_bar_resize(void); void title_bar_show(const char * const title); void title_bar_title(void); void title_bar_connected(void);