Mercurial > 510Connectbot
comparison 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 |
comparison
equal
deleted
inserted
replaced
405:d3c5480e8441 | 406:4038389cb7ce |
---|---|
1352 } | 1352 } |
1353 else { | 1353 else { |
1354 // The characters on screen are in unicode | 1354 // The characters on screen are in unicode |
1355 char ch; | 1355 char ch; |
1356 if (isDataEBCDIC(b)) ch = codePage.ebcdic2uni(b); | 1356 if (isDataEBCDIC(b)) ch = codePage.ebcdic2uni(b); |
1357 else ch = b; | 1357 else ch = (char) b; |
1358 planes.setScreenCharAndAttr(y, ch, la, false); | 1358 planes.setScreenCharAndAttr(y, ch, la, false); |
1359 } | 1359 } |
1360 } | 1360 } |
1361 } | 1361 } |
1362 | 1362 |