minor typos
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 26 May 2004 02:42:55 +0000 (02:42 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 26 May 2004 02:42:55 +0000 (02:42 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@549 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/event.c

index bd9a8fbe9eeaded3edb9e8f218c1b0cde8d8df02..68920d22099082ba140603008192daa6e39eea7a 100644 (file)
@@ -305,15 +305,15 @@ gint ltt_event_position_compare(const LttEventPosition *ep1,
 gint ltt_event_event_position_compare(const LttEvent *event,
                                       const LttEventPosition *ep)
 {
-  if(event->tf != ep->tf)
+  if(event->tracefile != ep->tf)
     g_error("ltt_event_position_compare on different tracefiles makes no sense");
-  if(e->which_block < ep->block_num)
+  if(event->which_block < ep->block_num)
     return -1;
-  if(e->which_block > ep->block_num)
+  if(event->which_block > ep->block_num)
     return 1;
-  if(e->which_event < ep->event_num)
+  if(event->which_event < ep->event_num)
     return -1;
-  if(e->which_event > ep->event_num)
+  if(event->which_event > ep->event_num)
     return 1;
   return 0;
 }
This page took 0.026237 seconds and 4 git commands to generate.