about summary refs log tree commit diff stats
path: root/input_win.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-02-26 23:37:23 +0000
committerJames Booth <boothj5@gmail.com>2012-02-26 23:37:23 +0000
commit2379ae895f77b859da2adc1fb733529b66b33a76 (patch)
treebf1ab71a72b169d7c3c289b6af53f5666736397c /input_win.c
parentcc4c7f3e19ae859a3a24c62a5b702b2663dc57ac (diff)
downloadprofani-tty-2379ae895f77b859da2adc1fb733529b66b33a76.tar.gz
Consistent naming in input_buffer
Diffstat (limited to 'input_win.c')
-rw-r--r--input_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input_win.c b/input_win.c
index 94c4d203..8becfcc9 100644
--- a/input_win.c
+++ b/input_win.c
@@ -64,7 +64,7 @@ void inp_block(void)
  * *ch    - getch will put a charater here if there was any input
  * 
  * The example below shows the values of size, input, a call to wgetyx to
- * find the current cursor location, and the index if the input string.
+ * find the current cursor location, and the index of the input string.
  *
  * size  : "       7 "
  * input : " example "
@@ -125,7 +125,7 @@ void inp_poll_char(int *ch, char *input, int *size)
 
     // up arrow
     } else if (*ch == KEY_UP) {
-        char *prev = inp_buf_get_previous();
+        char *prev = inpbuf_get_previous();
         if (prev) {
             strcpy(input, prev);
             *size = strlen(input);