http://bugs.winehq.org/show_bug.cgi?id=6801
--- Comment #26 from Tefnet developers developers@tefnet.pl 2008-04-09 08:59:34 --- I've found interesting patch sent by Robert Shearman.
http://www.winehq.org/pipermail/wine-patches/2007-May/039722.html
I think this would be the best place to fix it...