1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Placate a trivial compiler warning.

[originally from svn r2347]
This commit is contained in:
Simon Tatham 2002-12-18 11:51:09 +00:00
parent 297e5d8e45
commit c583c6e85e

View File

@ -3309,7 +3309,7 @@ static void clipme(Terminal *term, pos top, pos bottom, int rect)
int rv; int rv;
if (is_dbcs_leadbyte(font_codepage, (BYTE) c)) { if (is_dbcs_leadbyte(font_codepage, (BYTE) c)) {
buf[0] = c; buf[0] = c;
buf[1] = ldata[top.x + 1]; buf[1] = (char) (0xFF & ldata[top.x + 1]);
rv = mb_to_wc(font_codepage, 0, buf, 2, wbuf, 4); rv = mb_to_wc(font_codepage, 0, buf, 2, wbuf, 4);
top.x++; top.x++;
} else { } else {