Do not give up when non-existing fft window is chosen,
but issue a message and go on.
This commit is contained in:
parent
c4fc026af9
commit
ee347262b5
|
|
@ -84,7 +84,7 @@ com_fft(wordlist *wl)
|
||||||
order = 2;
|
order = 2;
|
||||||
|
|
||||||
if (fft_windows(window, win, time, length, maxt, span, order) == 0)
|
if (fft_windows(window, win, time, length, maxt, span, order) == 0)
|
||||||
goto done;
|
fprintf(cp_err, "Warning: unknown window type %s for fft, set to \"none\" \n", window);
|
||||||
|
|
||||||
names = ft_getpnames_quotes(wl, TRUE);
|
names = ft_getpnames_quotes(wl, TRUE);
|
||||||
vlist = NULL;
|
vlist = NULL;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue