Limit number of DirectDrawClipper_SetClipList FIXMEs
Andreas Mohr
andi at rhlx01.fht-esslingen.de
Sat Aug 21 04:48:58 CDT 2004
Hi,
On Sat, Aug 21, 2004 at 11:08:09AM +0200, Stefan Leichter wrote:
> Am Freitag, 20. August 2004 18:37 schrieb Tobias Burnus:
> > +
> > HRESULT WINAPI Main_DirectDrawClipper_SetClipList(
> > - LPDIRECTDRAWCLIPPER iface,LPRGNDATA lprgn,DWORD pdwSize
> > + LPDIRECTDRAWCLIPPER iface,LPRGNDATA lprgn,DWORD pdwFlag
> > ) {
> > ICOM_THIS(IDirectDrawClipperImpl,iface);
> > - FIXME("(%p,%p,%ld),stub!\n",This,lprgn,pdwSize);
> > + static int warned = 0;
> > + if (warned++ < 10 && lprgn != NULL)
> Hello,
>
> for me this looks like
>
> if (0 < 10 && lprgn != NULL)
>
> what is the same like
>
> if (lprgn != NULL)
>
> I thing you meant something different
Note that warned is defined to be static.
Maybe go back in your corner and find out what that means? :-)
(or it might just be that you missed the static part)
Andreas Mohr
More information about the wine-devel
mailing list