diff --git a/Tools/TimePlot.hs b/Tools/TimePlot.hs
--- a/Tools/TimePlot.hs
+++ b/Tools/TimePlot.hs
@@ -229,7 +229,9 @@
 readSource readTime f = (justs . map parseLine . blines) `fmap` (if f=="-" then B.getContents else B.readFile f)
   where
     justs xs = [x | Just x <- xs]
-    blines   = B.split '\n'
+    blines   = map pruneLF . B.split '\n'
+    pruneLF b | not (B.null b) && (B.last b == '\r') = B.init b
+              | otherwise                            = b
     strict   = S.concat . B.toChunks
     parseLine s = do
       (t, s') <- readTime s
diff --git a/timeplot.cabal b/timeplot.cabal
--- a/timeplot.cabal
+++ b/timeplot.cabal
@@ -1,5 +1,5 @@
 name: timeplot
-version: 0.2.23
+version: 0.2.24
 cabal-version: >=1.6
 build-type: Simple
 license: BSD3
