From af6a4a9e38ad9c098d7b7ee0f26ea24f5d331b93 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 11 Apr 2024 08:57:50 -0400 Subject: [PATCH] wikiheaders: Fixed a silly logic bug. --- build-scripts/wikiheaders.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/wikiheaders.pl b/build-scripts/wikiheaders.pl index 594f0701e..751b7bc3b 100755 --- a/build-scripts/wikiheaders.pl +++ b/build-scripts/wikiheaders.pl @@ -1034,7 +1034,7 @@ if ($copy_direction == 1) { # --copy-to-headers my $params = undef; my $paramstr = undef; - if (($symtype == 1) && (($symtype == 5))) { # we'll assume a typedef (5) with a \param is a function pointer typedef. + if (($symtype == 1) || (($symtype == 5))) { # we'll assume a typedef (5) with a \param is a function pointer typedef. $params = $sectionsref->{'Function Parameters'}; $paramstr = '\param'; } elsif ($symtype == 2) {