Browse Source

Fix NoContentsHtm mode.

Martijn Laan 1 năm trước cách đây
mục cha
commit
aef17e1987
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ISHelp/ISHelpGen/ISHelpGen.dpr

+ 1 - 1
ISHelp/ISHelpGen/ISHelpGen.dpr

@@ -1017,7 +1017,7 @@ begin
     var Postfix := ParamStr(2);
     var Postfix := ParamStr(2);
     OutputDir := SourceDir + 'Staging' + Postfix + '\';
     OutputDir := SourceDir + 'Staging' + Postfix + '\';
 
 
-    NoContentsHtm := not FileExists(SourceDir + 'contents-template.htm');
+    NoContentsHtm := not FileExists(OutputDir + 'contents-template.htm');
     if NoContentsHtm then
     if NoContentsHtm then
       Writeln('Running in NoContentsHtm mode');
       Writeln('Running in NoContentsHtm mode');