projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mutt_FormatString -> m_strformat (will soon end up into the str lib \o/)
[apps/madmutt.git]
/
compose.c
diff --git
a/compose.c
b/compose.c
index
ec7ac1b
..
860d643
100644
(file)
--- a/
compose.c
+++ b/
compose.c
@@
-114,7
+114,7
@@
static struct mapping_t ComposeNewsHelp[] = {
static void snd_entry (char *b, ssize_t blen, MUTTMENU * menu, int num) {
int w=(COLS-SW)>blen?blen:COLS-SW;
static void snd_entry (char *b, ssize_t blen, MUTTMENU * menu, int num) {
int w=(COLS-SW)>blen?blen:COLS-SW;
- m
utt_FormatString
(b, w, NONULL (AttachFormat), mutt_attach_fmt,
+ m
_strformat
(b, w, NONULL (AttachFormat), mutt_attach_fmt,
(unsigned long) (((ATTACHPTR **) menu->data)[num]),
M_FORMAT_STAT_FILE | M_FORMAT_ARROWCURSOR);
}
(unsigned long) (((ATTACHPTR **) menu->data)[num]),
M_FORMAT_STAT_FILE | M_FORMAT_ARROWCURSOR);
}
@@
-461,7
+461,7
@@
static void compose_status_line (char *buf, ssize_t buflen, MUTTMENU * menu,
const char *p)
{
int w=(COLS-SW)>buflen?buflen:(COLS-SW);
const char *p)
{
int w=(COLS-SW)>buflen?buflen:(COLS-SW);
- m
utt_FormatString
(buf, w, p, compose_format_str,
+ m
_strformat
(buf, w, p, compose_format_str,
(unsigned long) menu, 0);
}
(unsigned long) menu, 0);
}