aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-23 09:35:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-23 09:35:47 +0800
commit93d35480d878e2bb02ffcc528a2fba6598cf28fc (patch)
tree0b2c9310b28d4cb0010b3b041f50d1cb8921ba9a
parentf1dc83990b487869935f4ba0c033f2c459069d01 (diff)
downloadgsoc2013-evolution-93d35480d878e2bb02ffcc528a2fba6598cf28fc.tar.gz
gsoc2013-evolution-93d35480d878e2bb02ffcc528a2fba6598cf28fc.tar.zst
gsoc2013-evolution-93d35480d878e2bb02ffcc528a2fba6598cf28fc.zip
Oops, an unspecified date is '0', not -1.
2001-03-22 Jeffrey Stedfast <fejj@ximian.com> * filter-datespec.c (validate): Oops, an unspecified date is '0', not -1. svn path=/trunk/; revision=8910
-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;