Parcourir la source

* fix compilation and bug in new aspell lib loading code

git-svn-id: trunk@12004 -
Almindor il y a 17 ans
Parent
commit
dfda298172
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      packages/aspell/src/aspell.pp

+ 3 - 0
packages/aspell/src/aspell.pp

@@ -1082,7 +1082,10 @@ begin
       str(i, s);
       libname := libn + '.' + s;
       LibHandle := LoadLibrary(libname);
+      if LibHandle <> 0 then
+        Break;
     end;
+  end;
   {$endif}
 
   if LibHandle = 0 then