Fix text layer
This commit is contained in:
parent
74ef2955f7
commit
30c6ef0742
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class MapTextLayer extends OsmandMapLayer {
|
||||||
lastSpace = -1;
|
lastSpace = -1;
|
||||||
limit += TEXT_WRAP;
|
limit += TEXT_WRAP;
|
||||||
while (pos < limit && pos < end) {
|
while (pos < limit && pos < end) {
|
||||||
if (!Character.isWhitespace(text.charAt(pos))) {
|
if (Character.isWhitespace(text.charAt(pos))) {
|
||||||
lastSpace = pos;
|
lastSpace = pos;
|
||||||
}
|
}
|
||||||
pos++;
|
pos++;
|
||||||
|
|
Loading…
Reference in a new issue