From bbaf74b749822437536980ee892cc316c45c0db8 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Thu, 21 Nov 2019 23:42:26 +0000 Subject: Fix the 'fig' terminal PR: 242097 Submitted by: mjl@luckie.org.nz --- math/gnuplot/files/patch-term-fig.trm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 math/gnuplot/files/patch-term-fig.trm (limited to 'math/gnuplot/files/patch-term-fig.trm') diff --git a/math/gnuplot/files/patch-term-fig.trm b/math/gnuplot/files/patch-term-fig.trm new file mode 100644 index 000000000000..1957921c914c --- /dev/null +++ b/math/gnuplot/files/patch-term-fig.trm @@ -0,0 +1,15 @@ +--- term/fig.trm.orig ++++ term/fig.trm +@@ -680,11 +680,11 @@ + double empirical_scale = 3.0; + (void) custom_dash_pattern; /* ignore */ + if (type <= 0) +- type = LT_SOLID; ++ type = SOLID_LINE; + FIG_type = type % 6; + /* FIXME: should pass through "dl" somehow */ + FIG_spacing = empirical_scale * FIG_current_linewidth; +- FIG_line.cap_style = (FIG_type == 0) ? CAP_BUTT : CAP_ROUND; ++ FIG_line.cap_style = (FIG_type == SOLID_LINE) ? CAP_BUTT : CAP_ROUND; + } + -- cgit v1.2.3