Browse Source

* fix for mantis 16643, chmproject.savetofile filename doesn't propagate properly

git-svn-id: trunk@15387 -
marco 15 years ago
parent
commit
600214f2a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/chm/src/chmfilewriter.pas

+ 1 - 1
packages/chm/src/chmfilewriter.pas

@@ -233,7 +233,7 @@ var
 begin
 begin
   Cfg := TXMLConfig.Create(nil);
   Cfg := TXMLConfig.Create(nil);
   Cfg.StartEmpty := True;
   Cfg.StartEmpty := True;
-  Cfg.Filename := FileName;
+  Cfg.Filename := AFileName;
   Cfg.Clear;
   Cfg.Clear;
   Cfg.SetValue('Files/Count/Value', Files.Count);
   Cfg.SetValue('Files/Count/Value', Files.Count);
   for I := 0 to Files.Count-1 do
   for I := 0 to Files.Count-1 do