make_makefiles: Remove updating codepage list, this is done by make_unicode now.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
94397d96bb
commit
134074e553
|
@ -498,15 +498,6 @@ sub update_wine_inf()
|
||||||
push @lines, "\n[SortFiles]", sort grep(/^sort/, @nls_files);
|
push @lines, "\n[SortFiles]", sort grep(/^sort/, @nls_files);
|
||||||
push @lines, "\n[WineSourceDirs]\n";
|
push @lines, "\n[WineSourceDirs]\n";
|
||||||
replace_in_file "loader/wine.inf.in", '^\[InfFiles\]', '^\[WineSourceDirs\]', join( "\n", @lines );
|
replace_in_file "loader/wine.inf.in", '^\[InfFiles\]', '^\[WineSourceDirs\]', join( "\n", @lines );
|
||||||
|
|
||||||
my @codepages = grep /c_\d+\.nls/, @nls_files;
|
|
||||||
@lines = ( "[Nls]" );
|
|
||||||
foreach my $cp (sort { $a <=> $b; } map { /c_(\d+)\.nls/ && $1; } @codepages)
|
|
||||||
{
|
|
||||||
push @lines, sprintf "HKLM,System\\CurrentControlSet\\Control\\Nls\\Codepage,\"%u\",,\"c_%03u.nls\"", $cp, $cp;
|
|
||||||
}
|
|
||||||
push @lines, "\n";
|
|
||||||
replace_in_file "loader/wine.inf.in", '^\[Nls\]', '^$', join( "\n", @lines );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
my $git_dir = $ENV{GIT_DIR} || ".git";
|
my $git_dir = $ENV{GIT_DIR} || ".git";
|
||||||
|
|
Loading…
Reference in New Issue