fix in detailed event list zero
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 13 Sep 2005 03:20:13 +0000 (03:20 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 13 Sep 2005 03:20:13 +0000 (03:20 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1173 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/detailedevents/events.c

index 074a07aa110181abf8099d5df4ed921c2399b19d..13fa73f8d947d88d32a105e29f5bfb57b5859006 100644 (file)
@@ -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 {
This page took 0.024587 seconds and 4 git commands to generate.