wikiheaders: Fixed a silly logic bug.

main
Ryan C. Gordon 2024-04-11 08:57:50 -04:00
parent 9421a01400
commit af6a4a9e38
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 1 deletions

View File

@ -1034,7 +1034,7 @@ if ($copy_direction == 1) { # --copy-to-headers
my $params = undef; my $params = undef;
my $paramstr = 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'}; $params = $sectionsref->{'Function Parameters'};
$paramstr = '\param'; $paramstr = '\param';
} elsif ($symtype == 2) { } elsif ($symtype == 2) {