https://bugs.winehq.org/show_bug.cgi?id=57347
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Dmitry Timoshkov from comment #1)
Created attachment 77314 [details] patch
Sorry about the breakage, and many thanks for the bug report.
Attached patch should fix it (it's supposed to be merged with patch 2/2).
The patch works as intended. Thank you.