Ilya Zakharevich on Mon, 27 Sep 1999 20:01:04 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Another hole in gnuplot-ing


You could not set terminal as the *first* graph-related operation, it
was not checking whether graphing system was initialized.

Enjoy,
Ilya

--- ./src/graph/plotgnuplot.c~	Thu Sep 16 09:50:20 1999
+++ ./src/graph/plotgnuplot.c	Mon Sep 27 19:54:53 1999
@@ -147,6 +147,7 @@ term_set(char *s)
   char *t, *size = NULL;
   double x, y;
 
+  setup_gpshim();
   if (*s == 0)
       s = pari_plot.name;
   t = s;