Fix String comparison bug
This commit is contained in:
@@ -202,7 +202,7 @@ public class LString extends LValue {
|
|||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
while ( i < imax && j < jmax ) {
|
while ( i < imax && j < jmax ) {
|
||||||
if ( a[i] != b[i] ) {
|
if ( a[i] != b[j] ) {
|
||||||
return ( ( (int)a[i] ) & 0x0FF ) - ( ( (int)b[j] ) & 0x0FF );
|
return ( ( (int)a[i] ) & 0x0FF ) - ( ( (int)b[j] ) & 0x0FF );
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
version: 0.50
|
version: 0.51
|
||||||
|
|||||||
Reference in New Issue
Block a user