[evolution] Bug #458173 - Date selection window in "Advanced Search" inconsistent



commit 75887d8cde2c3d372fc402623fd7b1ee14526c5a
Author: Milan Crha <mcrha redhat com>
Date:   Thu Oct 15 20:23:56 2009 +0200

    Bug #458173 - Date selection window in "Advanced Search" inconsistent

 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 dcd3078..5d1e573 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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]