Chisato Yamauchi
cyama****@plamo*****
2003年 8月 12日 (火) 18:33:08 JST
From: Koike Kazuhiko <kazhi****@mozil*****> Subject: [X-tt-list:89] Re: Xのクラッシュに悩まされてます Date: Tue, 12 Aug 2003 06:50:12 +0900 Message-ID: <3F380****@mozil*****> > > [xaaPaintWin.c] > > XAACacheInfoPtr pCache = > > (*infoRec->CacheTile)(infoRec->pScrn, pPix); > > if(pCache) (*infoRec->FillCacheBltRects)(infoRec->pScrn, GXcopy, ~0, > > nBox, pBox, xorg, yorg, > > pCache); ここなんですけど,以下のようにするとどうなりますか? XAACacheInfoPtr pCache = (*infoRec->CacheTile)(infoRec->pScrn, pPix); if(pCache) (*infoRec->FillCacheBltRects)(infoRec->pScrn, GXcopy, ~0, nBox, pBox, xorg, yorg, pCache); else goto next; return; } next: if(infoRec->FillImageWriteRects && !(infoRec->FillImageWriteRectsFlags & NO_GXCOPY)) { pCache が NULL の時に return で帰らずに次の処理に飛ばす,と. == Chisato Yamauchi ================================= URL: http://phe.phyas.aichi-edu.ac.jp/~cyamauch/