Update of /cvsroot/jake2/jake2/src/jake2/client
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30871/src/jake2/client
Modified Files:
SCR.java
Log Message:
draw help screen
Index: SCR.java
===================================================================
RCS file: /cvsroot/jake2/jake2/src/jake2/client/SCR.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** SCR.java 22 Aug 2004 14:25:15 -0000 1.6
--- SCR.java 27 Aug 2004 21:07:01 -0000 1.7
***************
*** 786,792 ****
// scan out one line of text from the string
line= new StringBuffer(1024);
! while (string.charAt(l) != '\n')
line.append(string.charAt(l));
! l++;
if (centerwidth != 0)
--- 786,793 ----
// scan out one line of text from the string
line= new StringBuffer(1024);
! while (l < string.length() && string.charAt(l) != '\n') {
line.append(string.charAt(l));
! l++;
! }
if (centerwidth != 0)
***************
*** 1170,1175 ****
static void DrawLayout() {
if (cl.frame.playerstate.stats[STAT_LAYOUTS] != 0)
! return;
! SCR.ExecuteLayoutString(cl.layout);
}
--- 1171,1175 ----
static void DrawLayout() {
if (cl.frame.playerstate.stats[STAT_LAYOUTS] != 0)
! SCR.ExecuteLayoutString(cl.layout);
}
|