OSDN Git Service

Fix: Index error occurs when no log is returened from the server
authornaru <bottle@mikage.to>
Fri, 7 Mar 2003 08:04:45 +0000 (08:04 +0000)
committernaru <bottle@mikage.to>
Fri, 7 Mar 2003 08:04:45 +0000 (08:04 +0000)
bottleclient/Logs.pas

index b2343ee..c87b657 100755 (executable)
@@ -349,6 +349,7 @@ begin
       i := 0;
       if Source.Count = 0 then begin
         if Assigned(FOnLoadFailure) then FOnLoadFailure(Self, '\83\8d\83O\82ª\93Ç\82Ý\8eæ\82ê\82Ü\82¹\82ñ');
+        Exit;
       end;
       if Source[0] <> 'OK' then begin
       end;