diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/date.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/date.c b/src/date.c index bbf88eb44..ce1721a0b 100644 --- a/src/date.c +++ b/src/date.c @@ -681,8 +681,8 @@ static const char *approxidate_alpha(const char *date, struct tm *tm, struct tm const char *end = date; int i; - while (isalpha(*++end)); - ; + while (isalpha(*++end)) + /* scan to non-alpha */; for (i = 0; i < 12; i++) { size_t match = match_string(date, month_names[i]); |