https://bugs.winehq.org/show_bug.cgi?id=37556
--- Comment #2 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 50084 --> https://bugs.winehq.org/attachment.cgi?id=50084 patch
Hi Sebastian,
something like the attached patch should fix the bug.