tn5250j/src/org/tn5250j/framework/tn5250 tnvt.java,1.17,1.18

Patrick Bielen <[email protected]> Tue, 13 Dec 2005 11:53:03 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/framework/tn5250
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25633/src/org/tn5250j/framework/tn5250

Modified Files:
	tnvt.java 
Log Message:
Removed Mitch Blevins's Bug-fix : 
This fixes the bug for the restored screen did not put the fields in the right place.
So this means the bug is here again, so we need to commit another fix.

Index: tnvt.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/framework/tn5250/tnvt.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** tnvt.java	3 Nov 2005 14:53:23 -0000	1.17
--- tnvt.java	13 Dec 2005 11:53:00 -0000	1.18
***************
*** 1390,1396 ****
  		sc.write((byte) screen52.getColumns()); //    ""
  
! 		//int cp = screen52.getCurrentPos(); // save off current position
          // fix below submitted by Mitch Blevins
!         int cp = screen52.getScreenFields().getCurrentFieldPos(); 
          // save off current position
  		sc.write((byte) (cp >> 8 & 0xff)); //    ""
--- 1390,1396 ----
  		sc.write((byte) screen52.getColumns()); //    ""
  
! 		int cp = screen52.getCurrentPos(); // save off current position
          // fix below submitted by Mitch Blevins
!         //int cp = screen52.getScreenFields().getCurrentFieldPos(); 
          // save off current position
  		sc.write((byte) (cp >> 8 & 0xff)); //    ""



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click