Browse Source

gnuplot.c: enable correct terminal for non MINGW/MSVC

pre-master-46
h_vogt 12 years ago
committed by rlar
parent
commit
bd1b4a2162
  1. 3
      src/frontend/plotting/gnuplot.c

3
src/frontend/plotting/gnuplot.c

@ -110,6 +110,9 @@ ft_gnuplot(double *xlims, double *ylims, char *filename, char *title, char *xlab
}
/* Set up the file header. */
#if !defined(__MINGW__) && !defined(_MSC_VER)
fprintf(file, "set terminal X11\n");
#endif
if (title) {
text = cp_unquote(title);
fprintf(file, "set title \"%s\"\n", text);

Loading…
Cancel
Save