https://bugs.winehq.org/show_bug.cgi?id=38221
--- Comment #5 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).
I think it will be better you create and send appropriate patch. I just point you to a possible bug.