[Bug 17229] TGB Dual crashes when opening files

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 9 14:07:32 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=17229

--- Comment #10 from Bruno Jesus <00cpxxx at gmail.com> 2012-06-09 14:07:32 CDT ---
Created attachment 40461
  --> http://bugs.winehq.org/attachment.cgi?id=40461
patch to make it work

The attached patch will make the game load files and run. I'm not sure if it's
correct or not, the main problem is that ofn->lpstrFile is NULL so the
functions PathFindFileNameA and PathFindExtensionA also return NULL. I don't
know how it ended up being NULL which is probably the cause of the bug.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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