Revision: 5264
          http://sourceforge.net/p/jump-pilot/code/5264
Author:   michaudm
Date:     2016-12-16 12:19:39 +0000 (Fri, 16 Dec 2016)
Log Message:
-----------
#447 fix illegal character writing in jml

Modified Paths:
--------------
    core/trunk/src/com/vividsolutions/jump/io/GMLWriter.java

Modified: core/trunk/src/com/vividsolutions/jump/io/GMLWriter.java
===================================================================
--- core/trunk/src/com/vividsolutions/jump/io/GMLWriter.java    2016-12-16 
11:52:28 UTC (rev 5263)
+++ core/trunk/src/com/vividsolutions/jump/io/GMLWriter.java    2016-12-16 
12:19:39 UTC (rev 5264)
@@ -241,7 +241,7 @@
                 sb.replace(t, t + 1, """);
             }
 
-            if ((int)c < 20 && c != '\t' && c != '\n' && c != 'r') {
+            if ((int)c < 20 && c != '\t' && c != '\n' && c != '\r') {
                 sb.replace(t, t + 1, "");
             }
         }


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to