[Bug 34875] WordFlood 2.0 crashes on startup
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Nov 10 13:21:54 CST 2015
https://bugs.winehq.org/show_bug.cgi?id=34875
super_man at post.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jzeng at codeweavers.com
--- Comment #14 from super_man at post.com ---
(In reply to super_man from comment #13)
> (In reply to super_man from comment #12)
> > Actually I found the crash location.
> >
> > dlls/user32/win.c
> >
> > SetWindowTextW
> >
> > I just added a nullcheck like this
> >
> > if(hwnd ==NULL) FIXME("Print something");
> >
> > and it let the application start without any crash.
> >
> > The real problem could be related to the EM_SETMARGINS: stub messge.
> >
> > Or where the NULL comes?
>
> Actually it seems after reverting and trying to remake the hacky fix it
> could be that I actually wrote if(hwnd = NULL) instead of ==. And it made
> the application happy.
It seems to me that the real reason is EM_SETMARGINS being "unsupported"
/unimplemented.
Adding case EM_SETMARGINS and printing something, prints the message one time
and instant crash and the crash location seems to change.
Jactry?
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list