Mercurial > projects > dwt-linux
diff dwt/program/Program.d @ 361:4bffbf81e2d6
redirect direct prints to DwtLogger
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 20 Mar 2009 21:00:06 +0100 |
parents | 8ebacc5c07dc |
children |
line wrap: on
line diff
--- a/dwt/program/Program.d Fri Mar 20 20:30:32 2009 +0100 +++ b/dwt/program/Program.d Fri Mar 20 21:00:06 2009 +0100 @@ -32,7 +32,7 @@ } else { import tango.io.FileConduit; } -import tango.text.stream.LineIterator; +import tango.io.stream.Lines; version( build ){ pragma(link, "gnomeui-2" ); @@ -602,7 +602,7 @@ scope file = new tango.io.device.File.File ("/usr/share/mime/globs"); else scope file = new FileConduit ("/usr/share/mime/globs"); - scope it = new LineIterator!(char)(file); + scope it = new Lines!(char)(file); // process file one line at a time String[][ String ] mimeInfo; foreach (line; it ){