Mercurial > 510Connectbot
diff src/org/tn5250j/framework/tn5250/tnvt.java @ 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 | da2814f6f05e |
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); } }