From: yangxx Date: Wed, 24 Sep 2003 19:37:18 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@245 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3244 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=50ca4ac7e6fc3c6c83d69d1f62f6948c9ecaf6fa;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@245 04897980-b3bd-0310-b5e0-8ef037075253 --- 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;