Mercurial > 510Connectbot
changeset 406:4038389cb7ce
fix broken fillRegenerationBuffer/fillScreenArray attempt to handle missing attributes; fix setfield outside screen boundaries
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 24 Oct 2014 14:23:17 -0700 |
parents | d3c5480e8441 |
children | 85bf5f9c7983 |
files | src/org/tn5250j/framework/tn5250/tnvt.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/tnvt.java Fri Oct 24 14:19:06 2014 -0700 +++ b/src/org/tn5250j/framework/tn5250/tnvt.java Fri Oct 24 14:23:17 2014 -0700 @@ -1354,7 +1354,7 @@ // The characters on screen are in unicode char ch; if (isDataEBCDIC(b)) ch = codePage.ebcdic2uni(b); - else ch = b; + else ch = (char) b; planes.setScreenCharAndAttr(y, ch, la, false); } }