mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-17 11:55:33 +00:00
wikiheaders: Fixed a silly logic bug.
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user