瀏覽代碼

* fix compilation and bug in new aspell lib loading code

git-svn-id: trunk@12004 -
Almindor 17 年之前
父節點
當前提交
dfda298172
共有 1 個文件被更改,包括 3 次插入0 次删除
  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