summaryrefslogtreecommitdiffstats
path: root/addrbook.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-12-31 16:06:53 -0800
committerKevin McCarthy <kevin@8t8.us>2018-12-31 16:06:53 -0800
commit443295ee65c3ebc5085fcab3cc9d533b0fac4f0f (patch)
treedc425cf8028e3b78c635148bfc0a905b1e800327 /addrbook.c
parent1c59c27129b45b9f2cfd630428f57c643276b906 (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 'addrbook.c')
-rw-r--r--addrbook.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/addrbook.c b/addrbook.c
index f6d96130..12bcaa11 100644
--- a/addrbook.c
+++ b/addrbook.c
@@ -1,20 +1,20 @@
/*
* Copyright (C) 1996-2000,2007 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"
@@ -87,9 +87,9 @@ static int alias_tag (MUTTMENU *menu, int n, int m)
{
ALIAS *cur = ((ALIAS **) menu->data)[n];
int ot = cur->tagged;
-
+
cur->tagged = (m >= 0 ? m : !cur->tagged);
-
+
return cur->tagged - ot;
}
@@ -115,7 +115,7 @@ static int alias_SortAddress (const void *a, const void *b)
else if (pb == NULL)
r = 1;
else if (pa->personal)
- {
+ {
if (pb->personal)
r = mutt_strcasecmp (pa->personal, pb->personal);
else
@@ -139,7 +139,7 @@ void mutt_alias_menu (char *buf, size_t buflen, ALIAS *aliases)
char helpstr[LONG_STRING];
int omax;
-
+
if (!aliases)
{
mutt_error _("You have no aliases!");
@@ -156,7 +156,7 @@ void mutt_alias_menu (char *buf, size_t buflen, ALIAS *aliases)
new_aliases:
omax = menu->max;
-
+
/* count the number of aliases */
for (aliasp = aliases; aliasp; aliasp = aliasp->next)
{
@@ -190,7 +190,7 @@ new_aliases:
aliases = aliases->next;
goto new_aliases;
}
-
+
switch ((op = mutt_menuLoop (menu)))
{
case OP_DELETE:
@@ -238,5 +238,5 @@ new_aliases:
mutt_pop_current_menu (menu);
mutt_menuDestroy (&menu);
FREE (&AliasTable);
-
+
}