summary refs log tree commit diff stats
path: root/lib/pure/unidecode
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-11-29 01:24:58 +0100
committerAraq <rumpf_a@web.de>2011-11-29 01:24:58 +0100
commite261a88d074038391574402e88737af4752a1041 (patch)
tree6dfbeb266de2f0b91f0a7f416d6538521ca0892f /lib/pure/unidecode
parenta489161b1629b2b7347521c8ec67a0e5e812ef6a (diff)
downloadNim-e261a88d074038391574402e88737af4752a1041.tar.gz
further steps to get rid of deprecated endOfFile and readLine
Diffstat (limited to 'lib/pure/unidecode')
-rwxr-xr-xlib/pure/unidecode/unidecode.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/unidecode/unidecode.nim b/lib/pure/unidecode/unidecode.nim
index a302618e3..e184f16fa 100755
--- a/lib/pure/unidecode/unidecode.nim
+++ b/lib/pure/unidecode/unidecode.nim
@@ -46,7 +46,7 @@ proc loadUnidecodeTable*(datafile = "unidecode.dat") =
     newSeq(translationTable, 0xffff)
     var i = 0
     for line in lines(datafile):
-      translationTable[i] = line
+      translationTable[i] = line.string
       inc(i)
 
 proc unidecode*(s: string): string =