From: compudj Date: Tue, 13 Sep 2005 03:20:13 +0000 (+0000) Subject: fix in detailed event list zero X-Git-Tag: v0.12.20~2316 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=33a660f116e3b89d53ea7d856ac930f626c7f87d;hp=aaecaa999a51da6f31979c3a98825545ce8e35c8;p=lttv.git fix in detailed event list zero git-svn-id: http://ltt.polymtl.ca/svn@1173 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c index 074a07aa..13fa73f8 100644 --- a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c +++ b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c @@ -1196,7 +1196,7 @@ static void get_events(double new_value, EventViewerData *event_viewer_data) 0); lttv_traceset_context_position_copy(pos, first_pos); - if(relative_position > 0) { + if(relative_position >= 0) { LttTime first_event_time = lttv_traceset_context_position_get_time( pos); @@ -1206,7 +1206,7 @@ static void get_events(double new_value, EventViewerData *event_viewer_data) G_MAXUINT, pos); - } else if(relative_position <= 0) { + } else if(relative_position < 0) { g_assert(lttv_process_traceset_seek_position(tsc, pos) == 0); } } else {