# HG changeset patch # User Carl Byington # Date 1414185797 25200 # Node ID 4038389cb7ce58d224224ca89bc2519fd189e3b1 # Parent d3c5480e8441dcc69f2fb152515c1c565d9cee96 fix broken fillRegenerationBuffer/fillScreenArray attempt to handle missing attributes; fix setfield outside screen boundaries diff -r d3c5480e8441 -r 4038389cb7ce src/org/tn5250j/framework/tn5250/tnvt.java --- 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); } }