You're right. I've filed http://bugs.winehq.org/show_bug.cgi?id=26505 Does the patch there fix it for you?