View | Details | Raw Unified | Return to bug 2880
Collapse All | Expand All

(-)frysk-gtk/tlwidgets/src/widgets/ftkeventviewer.c (-2 lines)
Lines 574-582 Link Here
574
    for (i = 0; i < ftk_dlink_event_list_next (dlink); i++) {
574
    for (i = 0; i < ftk_dlink_event_list_next (dlink); i++) {
575
      int event_index = ftk_dlink_event (dlink, i);
575
      int event_index = ftk_dlink_event (dlink, i);
576
      ftk_event_s * event = ftk_ev_event (eventviewer, event_index);
576
      ftk_event_s * event = ftk_ev_event (eventviewer, event_index);
577
      int trace_idx	= ftk_event_trace (event);
578
      ftk_trace_s * trace = ftk_ev_trace (eventviewer, ftk_event_trace(event));
577
      ftk_trace_s * trace = ftk_ev_trace (eventviewer, ftk_event_trace(event));
579
      int loc		= ftk_event_loc (event);
580
      double etime =
578
      double etime =
581
	(ftk_event_time (event) - ftk_ev_zero (eventviewer)) - time_offset;
579
	(ftk_event_time (event) - ftk_ev_zero (eventviewer)) - time_offset;
582
      double loc_d = etime / ftk_ev_span (eventviewer);
580
      double loc_d = etime / ftk_ev_span (eventviewer);

Return to bug 2880