Do not give up when non-existing fft window is chosen,

but issue a message and go on.
This commit is contained in:
Holger Vogt 2026-02-28 16:17:43 +01:00
parent 7a76310b6b
commit f86018afe9
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ com_fft(wordlist *wl)
order = 2;
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);
vlist = NULL;