projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Placate a trivial compiler warning.
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
5950072
..
1446fa2
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-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 {