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
This commit is contained in:
Jeffrey Stedfast
2001-03-23 01:35:47 +00:00
committed by Jeffrey Stedfast
parent f1dc83990b
commit 93d35480d8
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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;