https://bugs.winehq.org/show_bug.cgi?id=38974
--- Comment #7 from Matteo Bruni matteo.mystral@gmail.com --- Created attachment 51957 --> https://bugs.winehq.org/attachment.cgi?id=51957 Possible fix
Excellent, I think I see what's going on. I'm attaching a patch, can you check whether it fixes the bug?