From 75887d8cde2c3d372fc402623fd7b1ee14526c5a Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 15 Oct 2009 20:23:56 +0200 Subject: Bug #458173 - Date selection window in "Advanced Search" inconsistent --- filter/filter-datespec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3