OSDN Git Service

Fixed access violation when ghost unspecified log items are previed in TalkShow style
authornaru <bottle@mikage.to>
Wed, 9 Jul 2003 03:48:42 +0000 (03:48 +0000)
committernaru <bottle@mikage.to>
Wed, 9 Jul 2003 03:48:42 +0000 (03:48 +0000)
bottleclient/TalkShowFrame.pas

index d1aefce..c2c25e9 100644 (file)
@@ -241,6 +241,8 @@ function TfrmTalkShow.DrawSingleImage(X, Y, Surface: integer;
 var Bmp: TBitmap;
 begin
   Result := 0;
+  if FGhost = '' then
+    Exit; // \83S\81[\83X\83g\82ª\8ew\92è\82³\82ê\82Ä\82¢\82È\82¢\82È\82ç\95\\8e¦\82Å\82«\82È\82¢
   Bmp := TBitmap.Create;
   try
     if Spps.TryGetImage(FGhost, Surface, Bmp) then