http://bugs.winehq.org/show_bug.cgi?id=10799
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2007-12-17 22:26:25 --- Created an attachment (id=9679) --> (http://bugs.winehq.org/attachment.cgi?id=9679) A probable fix
Does the attached patch help?