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:
parent
297e5d8e45
commit
c583c6e85e
@ -3309,7 +3309,7 @@ static void clipme(Terminal *term, pos top, pos bottom, int rect)
|
||||
int rv;
|
||||
if (is_dbcs_leadbyte(font_codepage, (BYTE) 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);
|
||||
top.x++;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user