http://bugs.winehq.org/show_bug.cgi?id=4923
--- Comment #4 from Dmitry Timoshkov dmitry@codeweavers.com 2007-11-06 00:05:33 --- Created an attachment (id=8985) --> (http://bugs.winehq.org/attachment.cgi?id=8985) A possible fix
Does the attached patch help?