about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-01-05 21:42:41 +0000
committerJames Booth <boothj5@gmail.com>2013-01-05 21:42:41 +0000
commit1e4559637343ace8c0d52d3f5e08e9c4e53648b5 (patch)
tree4da1b3d2b83196a5a2428f002faf2379b0657f0d
parentd24c57036c9e6b8fc7e1a87cd07261468ebc291e (diff)
downloadprofani-tty-1e4559637343ace8c0d52d3f5e08e9c4e53648b5.tar.gz
Added back in remove extra variable
-rw-r--r--src/input_win.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/input_win.c b/src/input_win.c
index 7a123662..b1249403 100644
--- a/src/input_win.c
+++ b/src/input_win.c
@@ -190,7 +190,6 @@ inp_get_char(char *input, int *size)
             } else {
                 char bytes[MB_CUR_MAX];
                 size_t utf_len = wcrtomb(bytes, ch, NULL);
-                int i;
                 for (i = 0 ; i < utf_len; i++) {
                     input[(*size)++] = bytes[i];
                 }