Commit 868547c9 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winemaker: Fix wrong place for case-check.

parent b09d6d08
......@@ -854,9 +854,6 @@ sub source_scan_project_file($$$)
for my $vc_filter (@{$vc_files->{'Filter'}}) {
for my $vc_file (@{$vc_filter->{'File'}}) {
$sfilet=$vc_file->{'RelativePath'};
if (($opt_lower == $OPT_LOWER_ALL and $sfilet =~ /[A-Z]/) or ($opt_lower == $OPT_LOWER_UPPERCASE and $sfilet !~ /[a-z]/)) {
$sfilet=lc $sfilet; #to lowercase if necessary
}
$sfilet=~s/\\\\/\\/g; #remove double backslash
$sfilet=~s/^\.\\//; #remove starting 'this directory'
$sfilet=~s/\\/\//g; #make slashes out of backslashes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment