prevent a segfault when TSTOP less than TSTART in tran command
This commit is contained in:
parent
d0dbc71280
commit
14642f7472
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue