tn5250j/src/org/tn5250j My5250.java,1.45,1.46

Pete Helgren <[email protected]> Fri, 15 Jul 2005 13:38:03 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29007/src/org/tn5250j

Modified Files:
	My5250.java 
Log Message:
Fixed problem with starting sessions with last view

Index: My5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/My5250.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** My5250.java	12 Jul 2005 06:16:23 -0000	1.45
--- My5250.java	15 Jul 2005 13:38:00 -0000	1.46
***************
*** 344,352 ****
  
           for (int x = 0; x < session_params.size(); x++)
              m.sessionArgs[x] = session_params.elementAt(x).toString();
  
!          m.startNewSession();
! 
!          for (int x = 1; x < os400_sessions.size(); x++ ) {
              String sel = os400_sessions.elementAt(x).toString();
  
--- 344,354 ----
  
           for (int x = 0; x < session_params.size(); x++)
+          
              m.sessionArgs[x] = session_params.elementAt(x).toString();
  
!          //m.startNewSession();
!          
!          // shouldn't we be starting x at 0?
!          for (int x = 0; x < os400_sessions.size(); x++ ) {
              String sel = os400_sessions.elementAt(x).toString();
  



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click