]> Dogcows Code - chaz/vimcoder/blobdiff - src/com/dogcows/Util.java
line-endings now correct for Windows
[chaz/vimcoder] / src / com / dogcows / Util.java
index 47fdd20d1cdef9c51d0d23ad90c7e0702ba59ab1..40303b6b7aac26dfa5854b9ce1dc7d032bf08eb1 100644 (file)
@@ -98,7 +98,7 @@ public abstract class Util
                        reader.close();
                }
 
-               return text.toString();
+               return text.toString().replaceAll("\n", System.getProperty("line.separator"));
        }
 
        /**
@@ -132,7 +132,7 @@ public abstract class Util
                        }
                }
 
-               return text.toString();
+               return text.toString().replaceAll("\n", System.getProperty("line.separator"));
        }
 
        /**
This page took 0.016553 seconds and 4 git commands to generate.