summaryrefslogtreecommitdiff
path: root/cad/gtkwave/patches/patch-ag
blob: 14d7a08d223c17c43f512874eb4eaa3c2f27e163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)