diff options
author | James Booth <boothj5@gmail.com> | 2013-01-06 00:24:11 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-01-06 00:24:11 +0000 |
commit | b32f58e22cf5f489d1e1f041bddb41ebb1e5948f (patch) | |
tree | 0d74e4e3206b408156fe045c542c44262c5a78d1 | |
parent | b328f368b026bf7bda968f1fc10f0a929dbc4f65 (diff) | |
download | profani-tty-b32f58e22cf5f489d1e1f041bddb41ebb1e5948f.tar.gz |
Fixed comment spacing
-rw-r--r-- | src/input_win.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_win.c b/src/input_win.c index 94547518..997044eb 100644 --- a/src/input_win.c +++ b/src/input_win.c @@ -146,7 +146,6 @@ inp_get_char(char *input, int *size) wget_wch(inp_win, &ch); gboolean in_command = FALSE; - if ((display_size > 0 && input[0] == '/') || (display_size == 0 && ch == '/')) { in_command = TRUE; @@ -209,7 +208,7 @@ inp_get_char(char *input, int *size) wprintw(inp_win, bytes); display_size++; - // if gone over screen size follow input + // if gone over screen size follow input int rows, cols; getmaxyx(stdscr, rows, cols); if (display_size - pad_start > cols-2) { |