From ca027792cbd02a4ba713edb615b139103694e3bc Mon Sep 17 00:00:00 2001 From: compudj Date: Sat, 14 Aug 2004 20:46:19 +0000 Subject: [PATCH] use the time compare in the fastest way possible git-svn-id: http://ltt.polymtl.ca/svn@755 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/tracecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index 3af6045c..6a5cb931 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -683,7 +683,7 @@ guint lttv_process_traceset_middle(LttvTracesetContext *self, count >= nb_events || (end_position!=NULL&<tv_traceset_context_ctx_pos_compare(self, end_position) == 0)|| - ltt_time_compare(tfc->timestamp, end) >= 0) + ltt_time_compare(end, tfc->timestamp) <= 0) { return count; } -- 2.34.1