2
0
Эх сурвалжийг харах

* Guard against empty source, fixes build of docs

Michaël Van Canneyt 1 жил өмнө
parent
commit
cc195c649a
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      utils/fpdoc/sh_pas.pp

+ 1 - 0
utils/fpdoc/sh_pas.pp

@@ -248,6 +248,7 @@ var
 var
   StringLength: Integer;
 begin
+  if Source=Nil then exit;
   dp := 0;
   LastSHPos := 0;