replace SKIPWS with a proper inline func with the right API.
[apps/madmutt.git] / browser.c
index c46c89e..fd607ce 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -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), ".");
-        SKIPWS (s);
+        s = vskipspaces(s);
         if (*s == '!') {
-          s++;
-          SKIPWS (s);
+          s = vskipspaces(s + 1);
           not = 1;
         }