Revert "Removed reference to no-longer-existing variable"

This reverts commit 7e1e6af184.

This commit did nothing other than introduce a bug. --style is supposed to
override --with, but after this commit, --style was ADDED to --with, which is
wrong
This commit is contained in:
Dima Kogan 2020-07-20 15:47:32 -07:00
parent 4234c94737
commit 4244299169

View File

@ -1188,7 +1188,10 @@ sub getCurve
if( !exists $curveFromID{$id} ) if( !exists $curveFromID{$id} )
{ {
my $curve = {extraoptions => ( exists $options{curvestyleall}) ? my $curve = {# if we have a catch-all style and no specific style, use
# the catch-all style
extraoptions => (!exists $options{curvestyle_hash}{$id} &&
exists $options{curvestyleall}) ?
"$options{curvestyleall} " : ' ', "$options{curvestyleall} " : ' ',
everyoptions => (!exists $options{every_hash}{$id} && everyoptions => (!exists $options{every_hash}{$id} &&
exists $options{everyall}) ? exists $options{everyall}) ?