From 50ca4ac7e6fc3c6c83d69d1f62f6948c9ecaf6fa Mon Sep 17 00:00:00 2001 From: yangxx Date: Wed, 24 Sep 2003 19:37:18 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@245 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/guiEvents.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/modules/guiEvents.c b/ltt/branches/poly/lttv/modules/guiEvents.c index 00f694e8..a5e42f10 100644 --- a/ltt/branches/poly/lttv/modules/guiEvents.c +++ b/ltt/branches/poly/lttv/modules/guiEvents.c @@ -949,8 +949,10 @@ void get_test_data(double time_value, guint List_Height, get_events(Event_Viewer_Data, start, end, maxNum, &size); Event_Viewer_Data->start_event_index = Event_Viewer_Data->current_event_index; } + Event_Number = Event_Viewer_Data->raw_trace_data_queue->length - List_Height; + }else{ + Event_Number = 0; } - Event_Number = Event_Viewer_Data->raw_trace_data_queue->length - List_Height; break; case SCROLL_NONE: Event_Number = Event_Viewer_Data->current_event_index; -- 2.34.1