https://bugs.winehq.org/show_bug.cgi?id=49730
--- Comment #20 from Fabian Maurer dark.shadow4@web.de --- Created attachment 68037 --> https://bugs.winehq.org/attachment.cgi?id=68037 Proposed patch
Attaching a patch I'd propose to fix the issue, not 100% sure if it's correct though.