diff options
author | Kevin McCarthy <kevin@8t8.us> | 2018-12-31 16:06:53 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2018-12-31 16:06:53 -0800 |
commit | 443295ee65c3ebc5085fcab3cc9d533b0fac4f0f (patch) | |
tree | dc425cf8028e3b78c635148bfc0a905b1e800327 /date.c | |
parent | 1c59c27129b45b9f2cfd630428f57c643276b906 (diff) |
Remove trailing whitespace.
The result of
find . -name "*.[ch]" -exec emacs -batch {} \
--eval="(progn (delete-trailing-whitespace) (and (buffer-modified-p) (save-buffer)))" \;
Diffstat (limited to 'date.c')
-rw-r--r-- | date.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,20 +1,20 @@ /* * Copyright (C) 1996-2000 Michael R. Elkins <me@mutt.org> - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ + */ #if HAVE_CONFIG_H # include "config.h" @@ -203,7 +203,7 @@ void mutt_normalize_time (struct tm *tm) } tm->tm_mday += DaysPerMonth[tm->tm_mon] + isLeapYearFeb (tm); } - while (tm->tm_mday > (DaysPerMonth[tm->tm_mon] + + while (tm->tm_mday > (DaysPerMonth[tm->tm_mon] + (nLeap = isLeapYearFeb (tm)))) { tm->tm_mday -= DaysPerMonth[tm->tm_mon] + nLeap; |