aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-datespec.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index 353ca7bdd8..b1e381e18f 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-22 Jeffrey Stedfast <fejj@ximian.com>
+
+ * filter-datespec.c (validate): Oops, an unspecified date is '0',
+ not -1.
+
2001-03-21 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (new_rule_clicked): Validate the rule before
diff --git a/filter/filter-datespec.c b/filter/filter-datespec.c
index e5b24d56a9..6618bbdd67 100644
--- a/filter/filter-datespec.c
+++ b/filter/filter-datespec.c
@@ -174,7 +174,7 @@ validate (FilterElement *fe)
FilterDatespec *fds = (FilterDatespec *) fe;
gboolean valid = TRUE;
- if (fds->value < 0) {
+ if (fds->value <= 0) {
GtkWidget *gd;
valid = FALSE;