https://bugs.winehq.org/show_bug.cgi?id=44550
--- Comment #4 from james_woodcock@yahoo.co.uk --- I tidied up the patch as suggested and have sent it to wine-devel.
I suspect that it might have got stuck in a spam filter, so I'll try again tomorrow.