winapi: Fix a $blevel / $plevel mismatch. (try2)

Francois Gouget fgouget at free.fr
Mon Jun 15 12:46:41 CDT 2009


---

This is the place I meant to patch.


 tools/winapi/c_parser.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winapi/c_parser.pm b/tools/winapi/c_parser.pm
index 0145175..5c24e21 100644
--- a/tools/winapi/c_parser.pm
+++ b/tools/winapi/c_parser.pm
@@ -1050,7 +1050,7 @@ sub parse_c_file($$$$) {
 	    $declaration .= $&;
 	} elsif(s/^\)//) {
 	    $plevel--;
-	    if($blevel <= 0) {
+	    if($plevel <= 0) {
 		$self->_parse_c_error($_, $line, $column, "file", ") without (");
 	    }
 	    $declaration .= $&;
-- 
1.6.3.1



More information about the wine-patches mailing list