Explorar el Código

* fix compilation and bug in new aspell lib loading code

git-svn-id: trunk@12004 -
Almindor hace 17 años
padre
commit
dfda298172
Se han modificado 1 ficheros con 3 adiciones y 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