tools: Fix spelling of a variable name.

Francois Gouget fgouget at free.fr
Wed Apr 13 12:20:52 CDT 2016


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 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 9cea587..5a4dcea 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];
-- 
2.8.0.rc3




More information about the wine-patches mailing list