projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix missing <libintl.h> include
[apps/madmutt.git]
/
lib-ui
/
browser.c
diff --git
a/lib-ui/browser.c
b/lib-ui/browser.c
index
466cf77
..
dc8bb59
100644
(file)
--- a/
lib-ui/browser.c
+++ b/
lib-ui/browser.c
@@
-53,7
+53,7
@@
static int browser_compare_subject (const void *a, const void *b)
int r = strcoll(NONULL(pa->name), NONULL(pb->name));
int r = strcoll(NONULL(pa->name), NONULL(pb->name));
- return (
(BrowserSort & SORT_REVERSE) ? -r : r)
;
+ return (
BrowserSort & SORT_REVERSE) ? -r : r
;
}
static int browser_compare_date (const void *a, const void *b)
}
static int browser_compare_date (const void *a, const void *b)
@@
-63,7
+63,7
@@
static int browser_compare_date (const void *a, const void *b)
int r = pa->mtime - pb->mtime;
int r = pa->mtime - pb->mtime;
- return (
(BrowserSort & SORT_REVERSE) ? -r : r)
;
+ return (
BrowserSort & SORT_REVERSE) ? -r : r
;
}
static int browser_compare_size (const void *a, const void *b)
}
static int browser_compare_size (const void *a, const void *b)
@@
-73,7
+73,7
@@
static int browser_compare_size (const void *a, const void *b)
int r = pa->size - pb->size;
int r = pa->size - pb->size;
- return (
(BrowserSort & SORT_REVERSE) ? -r : r)
;
+ return (
BrowserSort & SORT_REVERSE) ? -r : r
;
}
static void browser_sort (struct browser_state *state)
}
static void browser_sort (struct browser_state *state)
@@
-105,7
+105,7
@@
static int link_is_dir (const char *folder, const char *path)
mutt_concat_path(fullpath, sizeof(fullpath), folder, path);
if (stat (fullpath, &st) == 0)
mutt_concat_path(fullpath, sizeof(fullpath), folder, path);
if (stat (fullpath, &st) == 0)
- return
(S_ISDIR (st.st_mode)
);
+ return
S_ISDIR (st.st_mode
);
else
return 0;
}
else
return 0;
}
@@
-330,19
+330,19
@@
static int examine_directory (MUTTMENU * menu, struct browser_state *state,
}
}
mutt_perror (d);
}
}
mutt_perror (d);
- return
(-1)
;
+ return
-1
;
}
if (!S_ISDIR (s.st_mode)) {
mutt_error (_("%s is not a directory."), d);
}
if (!S_ISDIR (s.st_mode)) {
mutt_error (_("%s is not a directory."), d);
- return
(-1)
;
+ return
-1
;
}
buffy_check (0);
if ((dp = opendir (d)) == NULL) {
mutt_perror (d);
}
buffy_check (0);
if ((dp = opendir (d)) == NULL) {
mutt_perror (d);
- return
(-1)
;
+ return
-1
;
}
init_state (state, menu);
}
init_state (state, menu);
@@
-382,7
+382,7
@@
static int examine_mailboxes (MUTTMENU * menu, struct browser_state *state)
BUFFY* tmp;
if (!Incoming.len)
BUFFY* tmp;
if (!Incoming.len)
- return
(-1)
;
+ return
-1
;
buffy_check (0);
init_state (state, menu);
buffy_check (0);
init_state (state, menu);