X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/844e28cd678c203f26a813ed288edd65e27e5a4e..007cfc9552f7190778f63f86d5361d0462f2e363:/debian/patches/mutt-patched/sidebar-sorted 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;