summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-04-14 12:06:17 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-04-14 12:06:17 +0000
commit661c29ff100bf0ccfda3b4a3e6a41e07fd73e7b7 (patch)
treeedeb86376fa4baa0d6bee75bcaa57568434fdb44
parentb4ef9f04ba6690ed2351abb5d6de5c7de334b75c (diff)
downloadMPC-661c29ff100bf0ccfda3b4a3e6a41e07fd73e7b7.tar.gz
ChangeLogTag: Mon Apr 14 07:05:06 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/ProjectCreator.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm
index d766bf7f..1d083c4f 100644
--- a/modules/ProjectCreator.pm
+++ b/modules/ProjectCreator.pm
@@ -815,7 +815,8 @@ sub generate_default_pch_filenames {
sub fix_pch_filenames {
my($self) = shift;
foreach my $type ('pch_header', 'pch_source') {
- if ($self->get_assignment($type) eq '') {
+ my($pch) = $self->get_assignment($type);
+ if (defined $pch && $pch eq '') {
$self->process_assignment($type, undef);
}
}