freebsd-ports/math/gnuplot+/files/patch-xb
Steve Price d80572ef73 o Fix Configuration Option for readline library
o Add patch to avoid divide-by-zero trap
o Merge patches for gnuplot-3.7.1

PR:		16120
Submitted by:	Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
Reviewed by:	maintainer
2000-01-24 06:19:03 +00:00

23 lines
691 B
Plaintext

# key-below-clipping
--- graphics.c.ORIG Wed Sep 15 16:30:29 1999
+++ graphics.c Wed Nov 17 17:22:24 1999
@@ -1763,7 +1763,9 @@
#else
int x = xl + key_text_right - (t->h_char) * strlen(s);
#endif
- if (key_hpos == TOUT || inrange(x, xleft, xright))
+ if (key_hpos == TOUT ||
+ key_vpos == TUNDER || /* HBB 990327 */
+ inrange(x, xleft, xright))
(*t->put_text) (x, yl, s);
}
}
@@ -1820,6 +1822,7 @@
int x = xl + key_text_right - (t->h_char) * strlen(this_plot->title);
#endif
if (key_hpos == TOUT ||
+ key_vpos == TUNDER || /* HBB 990327 */
i_inrange(x, xleft, xright))
(*t->put_text) (x, yl, this_plot->title);
}