diff --git a/src/frontend/com_fft.c b/src/frontend/com_fft.c index 1716c6450..35b0d7b86 100644 --- a/src/frontend/com_fft.c +++ b/src/frontend/com_fft.c @@ -59,7 +59,7 @@ com_fft(wordlist *wl) length = (plot_cur->pl_scale)->v_length; time = (plot_cur->pl_scale)->v_realdata; - span = time[length-1] - time[0]; + span = time[length-1] - time[0] + time[length-1] - time[length-2]; #ifdef HAVE_LIBFFTW3 fpts = length/2 + 1;