diff options
-rw-r--r-- | filter/filter-datespec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter-datespec.c b/filter/filter-datespec.c index dcd3078ec1..5d1e573f9b 100644 --- a/filter/filter-datespec.c +++ b/filter/filter-datespec.c @@ -362,7 +362,7 @@ set_values (FilterDatespec *fds) p->type = fds->type==FDST_UNKNOWN ? FDST_NOW : fds->type; - note_type = fds->type==FDST_X_FUTURE ? FDST_X_AGO : fds->type; /* FUTURE and AGO use the same notebook pages/etc. */ + note_type = p->type==FDST_X_FUTURE ? FDST_X_AGO : p->type; /* FUTURE and AGO use the same notebook pages/etc. */ switch (p->type) { case FDST_NOW: |