Your patch adds extra whitespace on an empty line.
You are mixing coding styles with your if statements.
When sending a patch to wine-patches put the patch number followed by how many patches you are sending so the automated scripts can read it. For example "[1/1] sending only one patch".
2008/11/16 Bogdan Butnaru bogdanb@gmail.com:
Patch for http://bugs.winehq.org/show_bug.cgi?id=16087
-- Bogdan Butnaru