Serge Gautherie : winapi_test: PshpackN.h can only be 1/2/4/8.

Alexandre Julliard julliard at winehq.org
Thu Aug 13 15:11:51 CDT 2020


Module: wine
Branch: master
Commit: 44df633d1914180b8ed1b0c61d4c7e39be5030a7
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=44df633d1914180b8ed1b0c61d4c7e39be5030a7

Author: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
Date:   Wed Aug 12 05:40:44 2020 +0200

winapi_test: PshpackN.h can only be 1/2/4/8.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711 at gautherie.fr>
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/winapi/winapi_test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/winapi/winapi_test b/tools/winapi/winapi_test
index 9d016fff28..1ad94a6103 100755
--- a/tools/winapi/winapi_test
+++ b/tools/winapi/winapi_test
@@ -409,7 +409,7 @@ foreach my $file (@files) {
 	my $preprocessor = shift;
 
         #print "found_preprocessor: $begin_line: [$_]\n";
-	if ($preprocessor =~ /^\#\s*include\s+[\"<]pshpack(\d+)\.h[\">]$/) {
+	if ($preprocessor =~ /^\#\s*include\s+[\"<]pshpack(\d)\.h[\">]$/) {
 	    push @packs, $1 unless @ifdefs && !$ifdefs[$#ifdefs];
             #print "found pack $1 on line $begin_line\n";
 	} elsif($preprocessor =~ /^\#\s*include\s+[\"<]poppack\.h[\">]$/) {




More information about the wine-cvs mailing list