diff src/org/tn5250j/framework/tn5250/tnvt.java @ 29:017eeed8332c tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Jun 2014 16:02:29 -0700
parents b29b39f386a4
children b086dd794dba
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/tnvt.java	Tue Jun 03 12:38:59 2014 -0700
+++ b/src/org/tn5250j/framework/tn5250/tnvt.java	Tue Jun 03 16:02:29 2014 -0700
@@ -1359,7 +1359,7 @@
             pos |= bk.getNextByte() & 0xff;
             int hPos = bk.getNextByte() << 8 & 0xff00; // home position
             hPos |= bk.getNextByte() & 0xff;
-            if (rows != screen52.getRows())
+            if ((rows != screen52.getRows()) || (cols != screen52.getColumns()))
                 screen52.setRowsCols(rows, cols);
             screen52.clearAll(); // initialize what we currenty have
             if (sfParser != null && sfParser.isGuisExists())