From 0cd7d43953aeccd82d1aa2f662e7133db5c6edc3 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 3 Jan 2013 21:39:10 +0000 Subject: [PATCH] Removed unused code and comments --- src/input_win.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/input_win.c b/src/input_win.c index bcfcc78b..4eba2d25 100644 --- a/src/input_win.c +++ b/src/input_win.c @@ -181,8 +181,6 @@ inp_get_char(char *input, int *size) // otherwise just append } else { - //cchar_t t = { 0, { ch, 0 } }; - //wadd_wch(inp_win, &t); char bytes[5]; size_t utf_len = wcrtomb(bytes, ch, NULL); int i; @@ -245,8 +243,6 @@ inp_get_next_char(void) void inp_replace_input(char *input, const char * const new_input, int *size) { - int i; - strcpy(input, new_input); *size = strlen(input); inp_clear();