git-svn-id: http://ltt.polymtl.ca/svn@245 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 24 Sep 2003 19:37:18 +0000 (19:37 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 24 Sep 2003 19:37:18 +0000 (19:37 +0000)
ltt/branches/poly/lttv/modules/guiEvents.c

index 00f694e8c2744e85c846614d4fa52bb11e993831..a5e42f10dded1f455674548b1decceaa904f50e8 100644 (file)
@@ -949,8 +949,10 @@ void get_test_data(double time_value, guint List_Height,
            get_events(Event_Viewer_Data, start, end, maxNum, &size);
            Event_Viewer_Data->start_event_index = Event_Viewer_Data->current_event_index;
          }
+         Event_Number = Event_Viewer_Data->raw_trace_data_queue->length - List_Height;
+       }else{
+         Event_Number = 0;
        }
-       Event_Number = Event_Viewer_Data->raw_trace_data_queue->length - List_Height;
        break;
       case SCROLL_NONE:
        Event_Number = Event_Viewer_Data->current_event_index;
This page took 0.0318 seconds and 4 git commands to generate.