From 74979b0660620cb5425a1b7fddf2d2e4fc943f62 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 13 Apr 2016 19:20:52 +0200 Subject: [PATCH] tools: Fix spelling of a variable name. Signed-off-by: Francois Gouget Signed-off-by: Alexandre Julliard --- tools/winapi/winapi_local.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/winapi/winapi_local.pm b/tools/winapi/winapi_local.pm index 9cea5873a56..5a4dcea2412 100644 --- a/tools/winapi/winapi_local.pm +++ b/tools/winapi/winapi_local.pm @@ -320,14 +320,14 @@ sub _check_statements($$$) { if($first_debug_message && $called_name =~ /^(?:FIXME|TRACE)$/) { $first_debug_message = 0; if($called_arguments =~ /^\"\((.*?)\)(.*?)\"\s*,\s*(.*?)$/) { - my $formating = $1; + my $formatting = $1; my $extra = $2; my $arguments = $3; my $format; my $argument; my $n = 0; - while($formating && ($formating =~ s/^([^,]*),?//, $format = $1, $format =~ s/^\s*(.*?)\s*$/$1/) && + while($formatting && ($formatting =~ s/^([^,]*),?//, $format = $1, $format =~ s/^\s*(.*?)\s*$/$1/) && $arguments && ($arguments =~ s/^([^,]*),?//, $argument = $1, $argument =~ s/^\s*(.*?)\s*$/$1/)) { my $type = @{$function->argument_types}[$n];