Compare commits
1 commit
master
...
handle_cen
| Author | SHA1 | Date | |
|---|---|---|---|
| 88eda231db |
1 changed files with 2 additions and 0 deletions
|
|
@ -724,6 +724,8 @@ static void handle_center_trace(GtkButton *b, struct output_panel *op)
|
|||
{
|
||||
UNUSED(b);
|
||||
struct snapshot *snst = op->snst;
|
||||
if(!snst || !snst->events)
|
||||
return;
|
||||
uint64_t last_ev = snst->events[snst->events_wp];
|
||||
double new_centering;
|
||||
if(last_ev) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue