File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -890,7 +890,12 @@ msg_base = {
890890 //break;
891891 case 0 : // Next message
892892 if ( userSettings . debug . message_scan ) {
893- console . putmsg ( "DEBUG: Next Msg\n" ) ;
893+ //console.putmsg("DEBUG: Next Msg\n");
894+ console . putmsg ( high_intensity + "tmpPtr: " + normal +
895+ tmpPtr + "\t" + high_intensity + "indices.length: "
896+ + normal + indices . length + "\t" + high_intensity +
897+ "indices[tmpPtr]: " + normal + indices [ tmpPtr ] +
898+ "\n" ) ;
894899 }
895900 if ( ( tmpPtr <= 0 ) && ( inc == - 1 ) ) {
896901 mBase . close ( ) ;
@@ -904,7 +909,7 @@ msg_base = {
904909 while ( this . dispMsg ( mBase , indices [ tmpPtr ] , true )
905910 == null ) {
906911 tmpPtr += inc ;
907- if ( ( tmpPtr == 0 ) || ( tmpPtr > indices . length ) ) {
912+ if ( ( tmpPtr == 0 ) || ( tmpPtr >= indices . length ) ) {
908913 break ;
909914 }
910915 }
You can’t perform that action at this time.
0 commit comments