https://bugs.winehq.org/show_bug.cgi?id=49933
--- Comment #58 from Matheus matheus.venturini@acad.ufsm.br --- (In reply to RĂ©mi Bernon from comment #48)
Created attachment 73711 [details] Possible fix
I tested your patch with Wine built from source and it works perfectly.