mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-05 18:24:33 +00:00
fnsince.pl: Don't print out the version numbers if updating the wiki.
This commit is contained in:
@@ -101,12 +101,13 @@ $funcs{'SDL_WinRTGetFSPathUNICODE'} = '2.0.3';
|
|||||||
$funcs{'SDL_WinRTGetFSPathUTF8'} = '2.0.3';
|
$funcs{'SDL_WinRTGetFSPathUTF8'} = '2.0.3';
|
||||||
$funcs{'SDL_WinRTRunApp'} = '2.0.3';
|
$funcs{'SDL_WinRTRunApp'} = '2.0.3';
|
||||||
|
|
||||||
|
if (not defined $wikipath) {
|
||||||
foreach my $release (@releases) {
|
foreach my $release (@releases) {
|
||||||
foreach my $fn (sort keys %funcs) {
|
foreach my $fn (sort keys %funcs) {
|
||||||
print("$fn: $funcs{$fn}\n") if $funcs{$fn} eq $release;
|
print("$fn: $funcs{$fn}\n") if $funcs{$fn} eq $release;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
if (defined $wikipath) {
|
if (defined $wikipath) {
|
||||||
chdir($wikipath);
|
chdir($wikipath);
|
||||||
foreach my $fn (keys %funcs) {
|
foreach my $fn (keys %funcs) {
|
||||||
@@ -159,5 +160,5 @@ if (defined $wikipath) {
|
|||||||
close(FH);
|
close(FH);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user