summaryrefslogtreecommitdiff
path: root/math/gnuplot/files/patch-term-fig.trm
blob: 1957921c914ca8aa120c0360648682800ba84b97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
 }