winemaker: Always use parent project for project files.

This commit is contained in:
André Hentschel 2012-10-08 23:45:27 +02:00 committed by Alexandre Julliard
parent 07203fa465
commit 2c3121d533
1 changed files with 1 additions and 9 deletions

View File

@ -562,15 +562,7 @@ sub source_scan_project_file($$$)
$path.="/"; $path.="/";
} }
if (defined $opt_single_target or $is_sub_project == 0) { $project=$parent_project;
# Either there is a single target and thus a single project,
# or we are a single project-file for which a project
# already exists
$project=$parent_project;
} else {
$project=[];
project_init($project, $path, \@global_settings);
}
my $project_settings=@$project[$P_SETTINGS]; my $project_settings=@$project[$P_SETTINGS];
if ($filename =~ /.dsp$/i) { if ($filename =~ /.dsp$/i) {