projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mappings as standalone module
[apps/madmutt.git]
/
browser.c
diff --git
a/browser.c
b/browser.c
index
c46c89e
..
e22e1ea
100644
(file)
--- a/
browser.c
+++ b/
browser.c
@@
-15,6
+15,7
@@
#include <lib-lib/str.h>
#include <lib-lib/macros.h>
#include <lib-lib/file.h>
#include <lib-lib/str.h>
#include <lib-lib/macros.h>
#include <lib-lib/file.h>
+#include <lib-lib/mapping.h>
#include "mutt.h"
#include "enter.h"
#include "mutt.h"
#include "enter.h"
@@
-22,7
+23,6
@@
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "buffy.h"
#include "mutt_curses.h"
#include "mutt_menu.h"
#include "buffy.h"
-#include "mapping.h"
#include "sort.h"
#include "browser.h"
#include "attach.h"
#include "sort.h"
#include "browser.h"
#include "attach.h"
@@
-1191,10
+1191,9
@@
void _mutt_select_file (char *f, size_t flen, int flags, char ***files,
/* assume that the user wants to see everything */
if (!buf[0])
m_strcpy(buf, sizeof(buf), ".");
/* assume that the user wants to see everything */
if (!buf[0])
m_strcpy(buf, sizeof(buf), ".");
-
SKIPWS
(s);
+
s = vskipspaces
(s);
if (*s == '!') {
if (*s == '!') {
- s++;
- SKIPWS (s);
+ s = vskipspaces(s + 1);
not = 1;
}
not = 1;
}