From: naru Date: Fri, 7 Mar 2003 08:04:45 +0000 (+0000) Subject: Fix: Index error occurs when no log is returened from the server X-Git-Tag: BOTTLE2-40-1~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8aaab174359b6111b47b8a0adb9007555f20e949;p=winbottle%2Fwinbottle.git Fix: Index error occurs when no log is returened from the server --- diff --git a/bottleclient/Logs.pas b/bottleclient/Logs.pas index b2343ee..c87b657 100755 --- a/bottleclient/Logs.pas +++ b/bottleclient/Logs.pas @@ -349,6 +349,7 @@ begin i := 0; if Source.Count = 0 then begin if Assigned(FOnLoadFailure) then FOnLoadFailure(Self, 'ƒƒO‚ª“Ç‚ÝŽæ‚ê‚Ü‚¹‚ñ'); + Exit; end; if Source[0] <> 'OK' then begin end;