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

This commit is contained in:
h_vogt 2014-01-05 00:43:34 +01:00 committed by rlar
parent 8803edc16b
commit bd1b4a2162
1 changed files with 3 additions and 0 deletions

View File

@ -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);