Problem in dlls/ddraw/dsufrace/main.c
Sylvain Petreolle
spetreolle at yahoo.fr
Tue Jan 7 16:33:40 CST 2003
--- Lionel Ulmer <lionel.ulmer at free.fr> a écrit : > > Well, I said the
wrong words to explain me :/.
> > Disabling the test in our code, will the function fail or not ?
>
> It will crash in the AddRef code. Better to try to do something like
> that :
>
> if (found == NULL) {
> TRACE("Did not find any valid surface\n");
> *ppSurface = NULL;
> return DD_OK;
> }
I get the same behaviour with this code enabled as with the whole test disabled.
=====
Sylvain Petreolle
spetreolle at users.sourceforge.net
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259
"Don't think you are. Know you are." Morpheus in Matrix, chapter 15.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
More information about the wine-devel
mailing list