Add headers to makefiles, fixing make dist
[lttv.git] / lttv / lttv / tracecontext.c
index 939ed6f27e6c716d8e84bd84e933d24a75d15749..710cdecb0ad6f062bff12f9e68733035223f6078 100644 (file)
@@ -101,7 +101,7 @@ lttv_context_new_tracefile_context(LttvTracesetContext *self)
 /****************************************************************************
  * lttv_traceset_context_compute_time_span
  *
- * Keep the time span is sync with on the fly addition and removal of traces
+ * Keep the time span in sync with on the fly addition and removal of traces
  * in a trace set. It must be called each time a trace is added/removed from
  * the traceset. It could be more efficient to call it only once a bunch
  * of traces are loaded, but the calculation is not long, so it's not
@@ -1153,7 +1153,7 @@ void lttv_traceset_context_position_copy(LttvTracesetContextPosition *dest,
   int i;
   LttvTracefileContextPosition *src_tfcp, *dest_tfcp;
   
-  g_assert(src->tfcp->len == src->tfcp->len);
+  g_assert(src->tfcp->len == dest->tfcp->len);
   
   for(i=0;i<src->tfcp->len;i++) {
     src_tfcp = 
This page took 0.024442 seconds and 4 git commands to generate.