winemaker: Replace whitespaces in projectnames.

This commit is contained in:
André Hentschel 2009-11-21 18:13:44 +01:00 committed by Alexandre Julliard
parent ed786fbae4
commit 5f059edcdf

View File

@ -582,6 +582,7 @@ sub source_scan_project_file($$$)
if (/^\# Microsoft Developer Studio Project File - Name=\"([^\"]+)/) {
$prj_name="$1";
$prj_name=~s/\s+/_/g;
#print $prj_name;
next;
} elsif (/^# TARGTYPE/) {
@ -852,6 +853,7 @@ sub source_scan_project_file($$$)
foreach my $vc_project_attr ($vc_project->attributes) {
if ($vc_project_attr->getName eq "Name") {
$prj_name=$vc_project_attr->getValue;
$prj_name=~s/\s+/_/g;
last;
}
}