summary refs log tree commit diff stats
path: root/examples/htmltitle.nim
diff options
context:
space:
mode:
Diffstat (limited to 'examples/htmltitle.nim')
-rwxr-xr-xexamples/htmltitle.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/htmltitle.nim b/examples/htmltitle.nim
index ae023e379..3b6418164 100755
--- a/examples/htmltitle.nim
+++ b/examples/htmltitle.nim
@@ -7,7 +7,7 @@ import os, streams, parsexml, strutils
 if paramCount() < 1: 
   quit("Usage: htmltitle filename[.html]")
 
-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