Fix mistake for unicode
This commit is contained in:
@@ -392,8 +392,7 @@ public class StringLib extends TwoArgFunction {
|
|||||||
zeroPad &= !leftAdjust; // '-' overrides '0'
|
zeroPad &= !leftAdjust; // '-' overrides '0'
|
||||||
conversion = c;
|
conversion = c;
|
||||||
length = p - start;
|
length = p - start;
|
||||||
String str = strfrmt.tojstring();
|
src = strfrmt.substring(start - 1, p).tojstring();
|
||||||
src = str.substring(start - 1, p);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void format(Buffer buf, byte c) {
|
public void format(Buffer buf, byte c) {
|
||||||
|
|||||||
Reference in New Issue
Block a user