Accepting request 358674 from server:mail

fix patch-1.5.24.sidebar.20151111.patch wrt boo#961470 (forwarded request 353183 from vmiklos)

OBS-URL: https://build.opensuse.org/request/show/358674
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mutt?expand=0&rev=64
This commit is contained in:
Dominique Leuenberger 2016-02-18 10:07:02 +00:00 committed by Git OBS Bridge
commit 3122796611
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 12 08:46:42 UTC 2016 - vmiklos@collabora.co.uk
- Fix patch-1.5.24.sidebar.20151111.patch to shorten
imaps://imap.example.com/INBOX correctly to INBOX, not to NBOX. (boo#961470)
-------------------------------------------------------------------
Tue Dec 22 09:44:55 UTC 2015 - vmiklos@collabora.co.uk

View File

@ -1,7 +1,7 @@
#
# spec file for package mutt
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -1892,7 +1892,7 @@ index 0000000..e9d9eba
+ /* calculate depth of current folder and generate its display name with indented spaces */
+ int sidebar_folder_depth = 0;
+ char *sidebar_folder_name;
+ sidebar_folder_name = option(OPTSIDEBARSHORTPATH) ? mutt_basename(tmp->path) : tmp->path + maildir_is_prefix*(strlen(Maildir) + 1);
+ sidebar_folder_name = option(OPTSIDEBARSHORTPATH) ? mutt_basename(tmp->path) : tmp->path + maildir_is_prefix*(strlen(Maildir));
+ if ( maildir_is_prefix && option(OPTSIDEBARFOLDERINDENT) ) {
+ char *tmp_folder_name;
+ int i;