http://bugs.winehq.org/show_bug.cgi?id=15397
--- Comment #5 from Austin English austinenglish@gmail.com 2008-09-30 01:46:05 --- (In reply to comment #4)
The patch looks mostly OK but you've mangled braces there so code is now really really wrong. Also there is no need to check for counts (that is array so comparing it with 0 looks wrong too), and you should move startpt definition, not copy it
For the mangled braces, there's one extra in your original suggestion...
Moving the startpt definition gives an undeclared identifier error.