summary refs log tree commit diff stats
path: root/lib/pure/unidecode
diff options
context:
space:
mode:
authorflywind <43030857+xflywind@users.noreply.github.com>2021-02-08 06:50:15 -0600
committerGitHub <noreply@github.com>2021-02-08 13:50:15 +0100
commitf140c924090f29e11c2b1d8348413eb4efa4ebe9 (patch)
tree407604c50b2e372ea7ef20e6634f820a4e8b9906 /lib/pure/unidecode
parent910720b0d44721b1c467b23227ec77467b80c633 (diff)
downloadNim-f140c924090f29e11c2b1d8348413eb4efa4ebe9.tar.gz
fix some warnings (#16952)
Diffstat (limited to 'lib/pure/unidecode')
-rw-r--r--lib/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 166608aeb..9985b14b8 100644
--- 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.string
+      translationTable[i] = line
       inc(i)
 
 proc unidecode*(s: string): string =