summary refs log tree commit diff stats
path: root/lib/system/sysio.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-28 23:22:44 +0100
committerAraq <rumpf_a@web.de>2012-01-28 23:22:44 +0100
commit8d19a93f1a2fe33373ea32367f5f1828f7d913cc (patch)
tree4bec052efbd489a7a271fef58dba8735af91ae08 /lib/system/sysio.nim
parente92693ec8df1c6b2e4a833e72e18037cd9880b8c (diff)
downloadNim-8d19a93f1a2fe33373ea32367f5f1828f7d913cc.tar.gz
pragma on/off improvements; endb rewritten
Diffstat (limited to 'lib/system/sysio.nim')
-rwxr-xr-xlib/system/sysio.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/sysio.nim b/lib/system/sysio.nim
index 33f16b834..33d7dc5f2 100755
--- a/lib/system/sysio.nim
+++ b/lib/system/sysio.nim
@@ -125,7 +125,7 @@ proc readAll(file: TFile): TaintedString =
   # don't know the overall length of the TFile.
   var len = rawFileSize(file)
   if len >= 0:
-    result = readAllFile(file, len).TaintedSTring
+    result = readAllFile(file, len).TaintedString
   else:
     result = readAllBuffer(file).TaintedString