const char* src, const char* fmt,
const char* ifstr, const char* elstr,
unsigned long data, format_flag flags) {
const char* src, const char* fmt,
const char* ifstr, const char* elstr,
unsigned long data, format_flag flags) {
int opt = flags & M_FORMAT_OPTIONAL;
int c = Context && !m_strcmp(Context->path, b->path);
int opt = flags & M_FORMAT_OPTIONAL;
int c = Context && !m_strcmp(Context->path, b->path);
- mutt_FormatString (dest, destlen, ifstr, sidebar_number_format,
+ m_strformat (dest, destlen, ifstr, sidebar_number_format,
data, M_FORMAT_OPTIONAL);
else if (flags & M_FORMAT_OPTIONAL)
data, M_FORMAT_OPTIONAL);
else if (flags & M_FORMAT_OPTIONAL)
- mutt_FormatString (dest, destlen, elstr, sidebar_number_format,
+ m_strformat (dest, destlen, elstr, sidebar_number_format,
static int make_sidebar_entry (char* sbox, int idx, ssize_t len)
{
int shortened = 0, lencnt = 0;
static int make_sidebar_entry (char* sbox, int idx, ssize_t len)
{
int shortened = 0, lencnt = 0;
/* if $sidebar_newmail_only is set, don't display the
* box only if it's not the currently opened
* (i.e. always display the currently opened) */
return (0);
/* if $sidebar_newmail_only is set, don't display the
* box only if it's not the currently opened
* (i.e. always display the currently opened) */
return (0);
- mutt_FormatString (no, len, NONULL (SidebarNumberFormat),
+ m_strformat (no, len, NONULL (SidebarNumberFormat),
sidebar_number_format, idx, M_FORMAT_OPTIONAL);
lencnt = m_strlen(no);
memset(&entry, ' ', sizeof(entry));
sidebar_number_format, idx, M_FORMAT_OPTIONAL);
lencnt = m_strlen(no);
memset(&entry, ' ', sizeof(entry));
tmp->new = curContext->new;
tmp->msg_unread = curContext->unread;
tmp->msgcount = curContext->msgcount;
tmp->new = curContext->new;
tmp->msg_unread = curContext->unread;
tmp->msgcount = curContext->msgcount;
- for (i = TopBuffy, line=first_line; i < Incoming->length && line < last_line; i++) {
- tmp = (BUFFY*) Incoming->data[i];
+ for (i = TopBuffy, line=first_line; i < Incoming.len && line < last_line; i++) {
+ tmp = Incoming.arr[i];