diff src/org/tn5250j/framework/tn5250/Screen5250.java @ 106:12425771714d

setField() needs to dirty the modified screen positions
author Carl Byington <carl@five-ten-sg.com>
date Wed, 18 Jun 2014 10:38:46 -0700
parents 1b5887a3bb1c
children afe6962769b9
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/Screen5250.java	Wed Jun 18 10:36:46 2014 -0700
+++ b/src/org/tn5250j/framework/tn5250/Screen5250.java	Wed Jun 18 10:38:46 2014 -0700
@@ -2698,7 +2698,7 @@
             cf.setString(new String(data));
             lastPos = cf.getStartPos();
             setDirty(lastPos);
-            setDirty(lastPos + df.getLength());
+            setDirty(lastPos + cf.getLength());
         }
         updateDirty();
     }