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 79bcbf10c7
commit de45309a4a
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,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;