This commit is contained in:
Victor Shcherb 2020-01-07 18:44:43 +01:00
parent 8b0622a592
commit 5565999583

View file

@ -120,7 +120,7 @@ public class MapTextLayer extends OsmandMapLayer {
lastSpace = -1;
limit += TEXT_WRAP;
while (pos < limit && pos < end) {
if (!Character.isLetterOrDigit(text.charAt(pos))) {
if (!Character.isWhitespace(text.charAt(pos))) {
lastSpace = pos;
}
pos++;