Fix String comparison bug

This commit is contained in:
James Roseborough
2008-08-26 18:47:35 +00:00
parent 9fe29f4d15
commit 0808aa3791
2 changed files with 2 additions and 2 deletions

View File

@@ -202,7 +202,7 @@ public class LString extends LValue {
return 0;
while ( i < imax && j < jmax ) {
if ( a[i] != b[i] ) {
if ( a[i] != b[j] ) {
return ( ( (int)a[i] ) & 0x0FF ) - ( ( (int)b[j] ) & 0x0FF );
}
i++;

View File

@@ -1 +1 @@
version: 0.50
version: 0.51