summaryrefslogtreecommitdiff
path: root/cad/gtkwave/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gtkwave/patches/patch-ag')
-rw-r--r--cad/gtkwave/patches/patch-ag21
1 files changed, 21 insertions, 0 deletions
diff --git a/cad/gtkwave/patches/patch-ag b/cad/gtkwave/patches/patch-ag
new file mode 100644
index 00000000000..14d7a08d223
--- /dev/null
+++ b/cad/gtkwave/patches/patch-ag
@@ -0,0 +1,21 @@
+$NetBSD: patch-ag,v 1.1 2005/10/28 03:53:34 itohy Exp $
+
+--- src/tracepane.c.orig Mon Apr 26 04:23:42 2004
++++ src/tracepane.c Fri Oct 28 12:26:37 2005
+@@ -750,6 +750,7 @@ static void draw_event_trace (WaveDrawin
+ TimeType tim;
+ int height = 1 + add_extensions (t, which) - which;
+ int top, bottom;
++ TimeType last_time;
+
+ wave_drawing_context_set_trace (context, t);
+
+@@ -781,7 +782,7 @@ static void draw_event_trace (WaveDrawin
+ ytext = yu + (wavefont->ascent / 2);
+
+ do_horizontal_grid_line (context, bottom - 2, window);
+- TimeType last_time = -1;
++ last_time = -1;
+
+ /* No events? don't bother to show anything */
+ if (! event_iter->current)