Fix broken implementation of "Program" in .yapfaqrc.

Fixes #4.

Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
Thomas Hochstein 2010-05-14 21:58:15 +02:00
parent cdfec198d6
commit ba8ae1cfe5

View file

@ -66,7 +66,7 @@ if (-f $RCFile) {
warn "$0: W: .rc file $RCFile does not exist!\n"; warn "$0: W: .rc file $RCFile does not exist!\n";
} }
$Options{'s'} = $Config{'Program'} if (!defined($Options{'s'})); $Options{'s'} = $Config{'Program'} if (defined($Config{'Program'}) && $Config{'Program'} && !defined($Options{'s'}));
# read configuration (configured FAQs) # read configuration (configured FAQs)
my @Config; my @Config;