Package: gnuplot
Version: 4.0.0-2
Severity: normal


...and I tracked it down to two statements being in the wrong order.
I suggest this patch (which I have already submitted to the upstream
development sources).

           - Jim Van Zandt


--- term/cgm.trm        2004-04-13 13:24:16.000000000 -0400
+++ /usr/local/src/gnuplot/gnuplot-4.0.0/term/cgm.trm   2006-04-13 
16:19:51.000000000 -0400
@@ -1545,15 +1545,15 @@
       cgm_current.fill_color = cgm_next.fill_color;
       CGM_write_int_record(5, 23, 2, &cgm_next.fill_color);
     }
+    if (cgm_current.edge_visibility != cgm_next.edge_visibility){
+      cgm_current.edge_visibility = cgm_next.edge_visibility;
+      CGM_write_int_record(5, 30, 2, &cgm_current.edge_visibility);
+    }
     if (cgm_current.edge_visibility &&
        cgm_current.edge_color != cgm_next.edge_color){
       cgm_current.edge_color = cgm_next.edge_color;
       CGM_write_int_record(5, 29, 2, &cgm_current.edge_color);
     }
-    if (cgm_current.edge_visibility != cgm_next.edge_visibility){
-      cgm_current.edge_visibility = cgm_next.edge_visibility;
-      CGM_write_int_record(5, 30, 2, &cgm_current.edge_visibility);
-    }
       
     switch (number) {
     case 0:                    /* draw plus */


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gnuplot depends on:
ii  gnuplot-nox                   4.0.0-2    A command-line driven interactive 
ii  gnuplot-x11                   4.0.0-2    X11-terminal driver for gnuplot

gnuplot recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to