Explorar o código

* Guard against empty source, fixes build of docs

Michaël Van Canneyt hai 1 ano
pai
achega
cc195c649a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;