Permalink
Browse files

Fix typo in %A_LineFile% support

1 parent 44f155b commit d986167c4b7e0818dcf0e1d459047ea945a77b6e @fincs committed Jun 28, 2013
Showing with 4 additions and 2 deletions.
  1. +3 −1 .gitignore
  2. +1 −1 ScriptParser.ahk
View
@@ -1,4 +1,6 @@
*.exe
*.bin
*.bak
-/__debug.ahk
+*.db
+*.zip
+/__debug.ahk
View
@@ -63,7 +63,7 @@ PreprocessScript(ByRef ScriptText, AhkScript, ExtraFiles, FileList="", FirstScri
StringReplace, IncludeFile, IncludeFile, `%A_ScriptDir`%, %FirstScriptDir%, All
StringReplace, IncludeFile, IncludeFile, `%A_AppData`%, %A_AppData%, All
StringReplace, IncludeFile, IncludeFile, `%A_AppDataCommon`%, %A_AppDataCommon%, All
- StringReplace, IncludeFile, IncludeFile, `%A_LineFile`%, % FileList[1], All
+ StringReplace, IncludeFile, IncludeFile, `%A_LineFile`%, %AhkScript%, All
if FileExist(IncludeFile) = "D"
{

0 comments on commit d986167

Please sign in to comment.