From: Antonio Radici Date: Fri, 29 Apr 2011 17:20:11 +0000 (+0100) Subject: sidebar-sorted: use strcoll() to sort the sidebar using the locale settings of the... X-Git-Tag: nntp/1.5.21-5nntp1~25 X-Git-Url: https://git.llucax.com/software/mutt-debian.git/commitdiff_plain/007cfc9552f7190778f63f86d5361d0462f2e363?hp=844e28cd678c203f26a813ed288edd65e27e5a4e sidebar-sorted: use strcoll() to sort the sidebar using the locale settings of the system, patch by Arnaud Riess (Closes: 589240) --- diff --git a/debian/changelog b/debian/changelog index c332e66..35b41fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ mutt (1.5.21-5) unstable; urgency=low (Closes: 619822) + sidebar-{dotted,sorted}: documented the options that those two patches are introducing; documentation submitted by Julien Valroff (Closes: 603186) + + sidebar-sorted: use strcoll() to sort the sidebar using the locale + settings of the system, patch by Arnaud Riess (Closes: 589240) + multiple-fccs: added a patch that allows multiple FCC separated by commas, written by Omen Wild (Closes: 586454) diff --git a/debian/patches/mutt-patched/sidebar-sorted b/debian/patches/mutt-patched/sidebar-sorted index 6e5aa4e..c5211b8 100644 --- a/debian/patches/mutt-patched/sidebar-sorted +++ b/debian/patches/mutt-patched/sidebar-sorted @@ -26,7 +26,7 @@ should be easy to adopt it to a vanilla mutt. + needsort=0; + tmp = Incoming; + for ( ; tmp ; tmp=tmp->next ) { -+ if (tmp->next != NULL && strcmp(tmp->path, tmp->next->path) > 0) { ++ if (tmp->next != NULL && strcoll(tmp->path, tmp->next->path) > 0) { + needsort=1; + prev = tmp->prev; + next = tmp->next;