X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/d6c10f3f616706c8369259369fba5915f17e672a..939639fcf1dad1b8f3a85d641f41d11c49281f3c:/debian/patches/mutt-patched/sidebar-sorted diff --git a/debian/patches/mutt-patched/sidebar-sorted b/debian/patches/mutt-patched/sidebar-sorted index dbfa3cf..df4c672 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; @@ -51,7 +51,7 @@ should be easy to adopt it to a vanilla mutt. if ( BottomBuffy == 0 ) { --- a/init.h +++ b/init.h -@@ -1984,6 +1984,11 @@ +@@ -1986,6 +1986,11 @@ ** .pp ** Should the sidebar shorten the path showed. */ @@ -65,7 +65,7 @@ should be easy to adopt it to a vanilla mutt. ** .pp --- a/mutt.h +++ b/mutt.h -@@ -428,6 +428,7 @@ +@@ -433,6 +433,7 @@ OPTSCORE, OPTSIDEBAR, OPTSIDEBARSHORTPATH,