https://bugs.winehq.org/show_bug.cgi?id=39531
--- Comment #5 from Jason Edmeades us@edmeades.me.uk --- Attaching a patch, but I'll discard it as a similar problem was reported under 45552 and a patch submitted. Left on here in case there's a problem with that one