gnuplot (4.6.0-8) 08_do_not_set_qt_default_term.patch

Summary

 src/term.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

Description: Decrease the priority of qt-terminal to be set as "default"
Author: Anton Gladky <gladky.anton@gmail.com>
Bug-Debian: http://bugs.debian.org/668955
Last-Update: 2012-04-16

--- a/src/term.c
+++ b/src/term.c
@@ -1732,14 +1732,14 @@
 	    term_name = "sun";
 #endif /* SUN */
 
-#ifdef QTTERM
+#ifdef WXWIDGETS
 	if (term_name == (char *) NULL)
-		term_name = "qt";
+		term_name = "wxt";
 #endif
 
-#ifdef WXWIDGETS
+#ifdef QTTERM
 	if (term_name == (char *) NULL)
-		term_name = "wxt";
+		term_name = "qt";
 #endif
 
 #ifdef _Windows