From bd1b4a2162845d40b3fc8a58397bf41478240549 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sun, 5 Jan 2014 00:43:34 +0100 Subject: [PATCH] gnuplot.c: enable correct terminal for non MINGW/MSVC --- src/frontend/plotting/gnuplot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/plotting/gnuplot.c b/src/frontend/plotting/gnuplot.c index b96293a73..8c83d4887 100644 --- a/src/frontend/plotting/gnuplot.c +++ b/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);