Explorar o código

* fix compilation and bug in new aspell lib loading code

git-svn-id: trunk@12004 -
Almindor %!s(int64=17) %!d(string=hai) anos
pai
achega
dfda298172
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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