1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-08-18 19:04:14 -04:00

removed extra variable in inp_get_char

This commit is contained in:
Dmitry Podgorny 2013-01-04 20:57:55 +02:00
parent a626f80117
commit f210b49285

View File

@ -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];
}