changeset 4909:67bbcee26e21

Insert CR at the of each line in AT-extport.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 30 Jan 2013 14:39:28 +0100
parents ce92ea1dd101
children a707ef048188
files flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java	Wed Jan 30 12:40:53 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java	Wed Jan 30 14:39:28 2013 +0100
@@ -127,7 +127,7 @@
         // a header is required, because the desktop version of FLYS will skip
         // the first row.
         printHeader(out, meta, river, km);
-
+        out.print("\r");
         double rest = (minW * 100.0) % 10.0;
 
         double startW = Math.rint((minW - rest*0.01)*10.0)*0.1;
@@ -151,6 +151,7 @@
             }
 
             if (++col >= COLUMNS) {
+                out.print("\r");
                 out.println();
                 col = 0;
             }

http://dive4elements.wald.intevation.org