diff --git a/common/utils/T/tracer/view/ticktime.c b/common/utils/T/tracer/view/ticktime.c index 90ded4dd431ab0775c3209c30f0e37be8c79f9dd..1e1c7352a07a1acafe1f57681e8925a099fcd6ef 100644 --- a/common/utils/T/tracer/view/ticktime.c +++ b/common/utils/T/tracer/view/ticktime.c @@ -147,7 +147,8 @@ static void *ticktime_thread(void *_this) continue; p = &this->p[l]; /* TODO: only one call */ - timeline_add_points_silent(this->g, this->w, p->line, p->color, &i, 1); + int x[3] = {i==0?i:i-1, i, i==width-1?i:i+1}; + timeline_add_points_silent(this->g, this->w, p->line, p->color, x, 3); } }