From 007cfc9552f7190778f63f86d5361d0462f2e363 Mon Sep 17 00:00:00 2001 From: Antonio Radici Date: Fri, 29 Apr 2011 18:20:11 +0100 Subject: [PATCH] sidebar-sorted: use strcoll() to sort the sidebar using the locale settings of the system, patch by Arnaud Riess (Closes: 589240) --- debian/changelog | 2 ++ debian/patches/mutt-patched/sidebar-sorted | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.43.0