fixed DateLessThan()

It was returning true on less-than or equal-to.
This commit is contained in:
John Safranek 2014-05-03 16:46:56 -07:00
parent fd707ebafb
commit 2f39b50063

View File

@ -2116,7 +2116,7 @@ static int DateGreaterThan(const struct tm* a, const struct tm* b)
static INLINE int DateLessThan(const struct tm* a, const struct tm* b)
{
return !DateGreaterThan(a,b);
return DateGreaterThan(b,a);
}