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:
parent
a626f80117
commit
f210b49285
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user