diff options
Diffstat (limited to 'examples/htmlrefs.nim')
-rwxr-xr-x | examples/htmlrefs.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/htmlrefs.nim b/examples/htmlrefs.nim index b1695ee7a..824c1d8c7 100755 --- a/examples/htmlrefs.nim +++ b/examples/htmlrefs.nim @@ -12,7 +12,7 @@ if paramCount() < 1: quit("Usage: htmlrefs filename[.html]") var links = 0 # count the number of links -var filename = appendFileExt(ParamStr(1), "html") +var filename = addFileExt(ParamStr(1), "html") var s = newFileStream(filename, fmRead) if s == nil: quit("cannot open the file " & filename) var x: TXmlParser |