Browse Source

* Escape ModuleName, fixes building of module AVL_Tree

git-svn-id: trunk@12382 -
joost 16 năm trước cách đây
mục cha
commit
fa3e50042c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      utils/fpdoc/dw_latex.pp

+ 1 - 1
utils/fpdoc/dw_latex.pp

@@ -676,7 +676,7 @@ procedure TLatexWriter.StartUnitOverview(AModuleName,AModuleLabel : String);
 
 begin
   WriteLnF('\begin{FPCltable}{lr}{%s}{%s:0units}',
-    [Format(SDocUsedUnitsByUnitXY, [AModuleName]), AModuleName]);
+    [Format(SDocUsedUnitsByUnitXY, [EscapeText(AModuleName)]), AModuleName]);
   WriteLn('Name & Page \\ \hline');
 end;