https://bugs.winehq.org/show_bug.cgi?id=38221
--- Comment #2 from Sergey isakov-sl@bk.ru --- (In reply to Nikolay Sivov from comment #1)
Good catch. Would you care to send a patch or should I? (note that there's a bit more about it than fixing assignment).
Yes, I made more patched but out of the bug. diff attached.