http://bugs.winehq.org/show_bug.cgi?id=20049
--- Comment #13 from Paul Vriens Paul.Vriens.Wine@gmail.com 2009-09-15 07:42:36 --- I sent the patch (with a test case) to wine-patches. If all goes well it will incorporated in the next version (Friday).
Sorry, don't have much time to talk you through retrieving and compiling the source (hope somebody else chimes in here).