mirror of
https://git.zap.org.au/git/trader.git
synced 2024-12-04 14:46:45 -05:00
Use the more common post-increment form
This commit is contained in:
parent
daab2e94da
commit
7647561a92
@ -1149,8 +1149,8 @@ size_t xwcrtomb (char *restrict dest, wchar_t wc, mbstate_t *restrict mbstate)
|
||||
if ((n = wcrtomb(dest, L'\0', &mbcopy)) == (size_t) -1) {
|
||||
errno_exit(_("xwcrtomb: NUL"));
|
||||
}
|
||||
dest[n] = EILSEQ_REPL;
|
||||
dest[++n] = '\0';
|
||||
dest[n++] = EILSEQ_REPL;
|
||||
dest[n] = '\0';
|
||||
} else {
|
||||
errno_exit(_("xwcrtomb: '%lc'"), (wint_t) wc);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user