logo separator

[mkgmap-dev] patch for mp parsing

From Andrzej Popowski popej at poczta.onet.pl on Fri Aug 23 15:29:21 BST 2019

Hi,

here is a small patch to correct a typo.

-- 
Best regards,
Andrzej
-------------- next part --------------
Index: trunk/src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java
===================================================================
--- trunk/src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java	(revision 4288)
+++ trunk/src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java	(working copy)
@@ -508,11 +508,11 @@
 			} else 
 				nextPos = 10;
 			city = strings[nextPos];
-			if ("-1".equals(city)){
+			if (!"-1".equals(city)){
 				region = strings[nextPos + 1];
 				country = strings[nextPos + 2];
 				nums.setCityInfo(Numbers.RIGHT, createCityInfo(city, region, country));
-			} 			
+			} 
 		}
 		return nums;
 	}


More information about the mkgmap-dev mailing list