prevent a segfault when TSTOP less than TSTART in tran command

This commit is contained in:
Holger Vogt 2024-08-03 16:50:54 +02:00
parent d0dbc71280
commit 14642f7472
1 changed files with 1 additions and 1 deletions

View File

@ -469,7 +469,7 @@ com_sndprint(wordlist* wl)
ngood += 1;
}
if (vecs->v_plot->pl_scale->v_type != SV_TIME)
if (!vecs || vecs->v_plot->pl_scale->v_type != SV_TIME)
return;
if (!ngood) return;