Explorar el Código

* fix crash on aspell finalization if dynlib was used but library wasn't found

git-svn-id: trunk@9818 -
Almindor hace 17 años
padre
commit
ea2df5e0e0
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      packages/extra/aspell/aspell.pp

+ 2 - 1
packages/extra/aspell/aspell.pp

@@ -203,7 +203,8 @@ var
 procedure aspell_done;
  begin
 {$IFDEF Dynamic}
- UnloadLibrary(alib);
+ if aspellpresent then
+   UnloadLibrary(alib);
 {$ENDIF}
  end;