+2006-06-06 [paul] 2.2.1cvs5
+
+ * src/matcher.c
+ fix age_greater and age_lower so that they
+ mean what say and not '...or equal to'
+ Thanks to Colin
+
2006-06-06 [paul] 2.2.1cvs4
* src/textview.c
( cvs diff -u -r 1.52.2.19 -r 1.52.2.20 src/prefs_folder_item.c; cvs diff -u -r 1.207.2.100 -r 1.207.2.101 src/folderview.c; cvs diff -u -r 1.75.2.23 -r 1.75.2.24 src/matcher.c; ) > 2.2.1cvs2.patchset
( cvs diff -u -r 1.1.2.4 -r 1.1.2.5 manual/fr/account.xml; ) > 2.2.1cvs3.patchset
( cvs diff -u -r 1.96.2.114 -r 1.96.2.115 src/textview.c; cvs diff -u -r 1.36.2.63 -r 1.36.2.64 src/common/utils.c; ) > 2.2.1cvs4.patchset
+( cvs diff -u -r 1.75.2.24 -r 1.75.2.25 src/matcher.c; ) > 2.2.1cvs5.patchset
|| matcherprop_string_match(prop, info->cc));
case MATCHCRITERIA_AGE_GREATER:
t = time(NULL);
- return ((t - info->date_t) / (60 * 60 * 24)) >= prop->value;
+ return ((t - info->date_t) / (60 * 60 * 24)) > prop->value;
case MATCHCRITERIA_AGE_LOWER:
t = time(NULL);
- return ((t - info->date_t) / (60 * 60 * 24)) <= prop->value;
+ return ((t - info->date_t) / (60 * 60 * 24)) < prop->value;
case MATCHCRITERIA_SCORE_GREATER:
- return info->score >= prop->value;
+ return info->score > prop->value;
case MATCHCRITERIA_SCORE_LOWER:
- return info->score <= prop->value;
+ return info->score < prop->value;
case MATCHCRITERIA_SCORE_EQUAL:
return info->score == prop->value;
case MATCHCRITERIA_SIZE_GREATER: