Browse Source

* fix compilation and bug in new aspell lib loading code

git-svn-id: trunk@12004 -
Almindor 17 years ago
parent
commit
dfda298172
1 changed files with 3 additions and 0 deletions
  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