winapi: Fix a $blevel / $plevel mismatch.

Francois Gouget fgouget at free.fr
Mon Jun 15 04:02:39 CDT 2009


---
 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 86d60f8..95f493d 100644
--- a/tools/winapi/c_parser.pm
+++ b/tools/winapi/c_parser.pm
@@ -1075,7 +1075,7 @@ sub parse_c_file($$$$) {
 	    $declaration .= $&;
 	} elsif(s/^\}//) {
 	    $blevel--;
-	    if($blevel <= 0) {
+	    if($plevel <= 0) {
 		$self->_parse_c_error($_, $line, $column, "file", "} without {");
 	    }
 
-- 
1.6.3.1




More information about the wine-patches mailing list