projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xterm.c was absurd, no need to put trivial functions like this in a
[apps/madmutt.git]
/
from.c
diff --git
a/from.c
b/from.c
index
e3c85eb
..
1ac13f5
100644
(file)
--- a/
from.c
+++ b/
from.c
@@
-12,12
+12,11
@@
#endif
#include <lib-lib/mem.h>
#endif
#include <lib-lib/mem.h>
+#include <lib-lib/str.h>
+#include <lib-lib/macros.h>
#include "mutt.h"
#include "mutt.h"
-#include "lib/mem.h"
-#include "lib/intl.h"
-#include "lib/str.h"
#include "lib/debug.h"
#include <ctype.h>
#include "lib/debug.h"
#include <ctype.h>
@@
-45,7
+44,7
@@
static int is_day_name (const char *s)
{
int i;
{
int i;
- if ((
str_len
(s) < 3) || !*(s + 3) || !ISSPACE (*(s + 3)))
+ if ((
m_strlen
(s) < 3) || !*(s + 3) || !ISSPACE (*(s + 3)))
return 0;
for (i = 0; i < 7; i++)
if (str_ncasecmp (s, Weekdays[i], 3) == 0)
return 0;
for (i = 0; i < 7; i++)
if (str_ncasecmp (s, Weekdays[i], 3) == 0)