make sure that $options{curvestyleall} is always defined. This cleans up some things

This commit is contained in:
Dima Kogan 2011-01-06 15:38:31 -08:00
parent 1abc70db2f
commit da87a716c1

View File

@ -180,11 +180,12 @@ if( $options{help} )
die($usage);
}
$options{curvestyleall} = '' unless defined $options{curvestyleall};
if($options{colormap})
{
# colormap styles all curves with palette. Seems like there should be a way to do this with a
# global setting, but I can't get that to work
$options{curvestyleall} = '' unless defined $options{curvestyleall};
$options{curvestyleall} .= ' palette';
}