Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2013-07-22 00:59:14 +02:00
commit d599b7f891

View file

@ -1073,6 +1073,9 @@ public class OsmandSettings {
if (ip.trim().length() > 0) { if (ip.trim().length() > 0) {
list.addAll(Arrays.asList(ip.split("--"))); list.addAll(Arrays.asList(ip.split("--")));
} }
while(list.size() > sz) {
list.remove(list.size() - 1);
}
while(list.size() < sz) { while(list.size() < sz) {
list.add(""); list.add("");
} }