mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 19:26:22 +00:00
Added back in remove extra variable
This commit is contained in:
@@ -190,7 +190,6 @@ inp_get_char(char *input, int *size)
|
|||||||
} else {
|
} else {
|
||||||
char bytes[MB_CUR_MAX];
|
char bytes[MB_CUR_MAX];
|
||||||
size_t utf_len = wcrtomb(bytes, ch, NULL);
|
size_t utf_len = wcrtomb(bytes, ch, NULL);
|
||||||
int i;
|
|
||||||
for (i = 0 ; i < utf_len; i++) {
|
for (i = 0 ; i < utf_len; i++) {
|
||||||
input[(*size)++] = bytes[i];
|
input[(*size)++] = bytes[i];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user