Explorar el Código

* Guard against empty source, fixes build of docs

Michaël Van Canneyt hace 1 año
padre
commit
cc195c649a
Se han modificado 1 ficheros con 1 adiciones y 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;