From: nion Date: Sat, 19 Mar 2005 17:06:26 +0000 (+0000) Subject: Nico Golde: X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=commitdiff_plain;h=d10e9217f2111d9d4354cf867ecdc783a6585e76 Nico Golde: - converted functions to internal mutt functions git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@206 e385b8ad-14ed-0310-8656-cc95a2468c6d --- diff --git a/account.c b/account.c index 46f6e8e..9a756a9 100644 --- a/account.c +++ b/account.c @@ -45,11 +45,11 @@ int mutt_account_match (const ACCOUNT * a1, const ACCOUNT * a2) #endif if (a1->flags & a2->flags & M_ACCT_USER) - return (!strcmp (a1->user, a2->user)); + return (!mutt_strcmp (a1->user, a2->user)); if (a1->flags & M_ACCT_USER) - return (!strcmp (a1->user, user)); + return (!mutt_strcmp (a1->user, user)); if (a2->flags & M_ACCT_USER) - return (!strcmp (a2->user, user)); + return (!mutt_strcmp (a2->user, user)); return 1; } diff --git a/sidebar.c b/sidebar.c index e5ec1c2..4326d22 100644 --- a/sidebar.c +++ b/sidebar.c @@ -200,7 +200,7 @@ void set_curbuffy (char buf[LONG_STRING]) return; while (1) { - if (!strcmp (tmp->path, buf)) { + if (!mutt_strcmp (tmp->path, buf)) { CurBuffy = tmp; break; } @@ -219,7 +219,7 @@ void set_buffystats (CONTEXT * Context) if (!Context) return; while (tmp) { - if (strcmp (tmp->path, Context->path) == 0) { + if (mutt_strcmp (tmp->path, Context->path) == 0) { tmp->new = Context->new; tmp->msg_unread = Context->unread; tmp->msgcount = Context->msgcount; @@ -280,9 +280,9 @@ int draw_sidebar (int menu) move (lines, SidebarWidth - delim_len); if (option (OPTASCIICHARS)) addstr (NONULL (SidebarDelim)); - else if (!option (OPTASCIICHARS) && !strcmp (SidebarDelim, "|")) + else if (!option (OPTASCIICHARS) && !mutt_strcmp (SidebarDelim, "|")) addch (ACS_VLINE); - else if ((Charset_is_utf8) && !strcmp (SidebarDelim, "|")) + else if ((Charset_is_utf8) && !mutt_strcmp (SidebarDelim, "|")) addstr ("\342\224\202"); else addstr (NONULL (SidebarDelim)); @@ -318,7 +318,7 @@ int draw_sidebar (int menu) move (lines, 0); if (option (OPTSIDEBARNEWMAILONLY)) { if (tmp->msg_unread > 0) { - if (Context && !strcmp (tmp->path, Context->path)) { + if (Context && !mutt_strcmp (tmp->path, Context->path)) { printw ("%.*s", SidebarWidth - delim_len, make_sidebar_entry (basename (tmp->path), Context->msgcount, Context->unread,