SHA256
1
0
forked from pool/gnuplot
gnuplot/gnuplot-4.4.0-wxt.dif

27 lines
563 B
Plaintext

--- src/term.c
+++ src/term.c 2011-04-21 10:38:51.000000000 +0200
@@ -1718,11 +1718,6 @@ init_terminal()
term_name = "sun";
#endif /* SUN */
-#ifdef WXWIDGETS
- if (term_name == (char *) NULL)
- term_name = "wxt";
-#endif
-
#ifdef _Windows
/* let the wxWidgets terminal be the default when available */
if (term_name == (char *) NULL)
@@ -1758,6 +1753,11 @@ init_terminal()
term_name = "x11";
#endif /* x11 */
+#ifdef WXWIDGETS
+ if (term_name == (char *) NULL)
+ term_name = "wxt";
+#endif
+
#ifdef AMIGA
term_name = "amiga";
#endif