[1/3] winemaker: Always use parent project for project files

André Hentschel nerv at dawncrow.de
Mon Oct 8 16:45:27 CDT 2012


---
 tools/winemaker |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 58d6bfe..d23418d 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -562,15 +562,7 @@ sub source_scan_project_file($$$)
         $path.="/";
     }
 
-    if (defined $opt_single_target or $is_sub_project == 0) {
-        # 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);
-    }
+    $project=$parent_project;
     my $project_settings=@$project[$P_SETTINGS];
 
     if ($filename =~ /.dsp$/i) {
-- 
1.7.4.1



-- 

Best Regards, André Hentschel


More information about the wine-patches mailing list