From f0ffc31cd6dc93ec93d2b60dbbd92580001b9034 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 15 Jan 2015 23:46:54 +0000 Subject: [PATCH] Renamed inp_get_char->inp_read --- src/ui/core.c | 2 +- src/ui/inputwin.c | 2 +- src/ui/inputwin.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/core.c b/src/ui/core.c index 69701616..3e4d2c80 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -183,7 +183,7 @@ ui_readline(void) int key_type; wint_t ch; - char *line = inp_get_char(&key_type, &ch); + char *line = inp_read(&key_type, &ch); _win_handle_switch(ch); ProfWin *current = wins_get_current(); diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 43eaeba8..7899a113 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -136,7 +136,7 @@ inp_block(void) } char * -inp_get_char(int *key_type, wint_t *ch) +inp_read(int *key_type, wint_t *ch) { int display_size = 0; diff --git a/src/ui/inputwin.h b/src/ui/inputwin.h index 5d104cdb..f121c9d9 100644 --- a/src/ui/inputwin.h +++ b/src/ui/inputwin.h @@ -36,7 +36,7 @@ #define UI_INPUTWIN_H void create_input_window(void); -char* inp_get_char(int *key_type, wint_t *ch); +char* inp_read(int *key_type, wint_t *ch); void inp_win_reset(void); void inp_win_resize(void); void inp_put_back(void);