- revert one hunk in sidebar patch update to fix off-by-one in sidebar auto/th/mutt-1.5.24-2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 26 Jan 2016 07:24:23 +0000 (08:24 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 26 Jan 2016 07:24:23 +0000 (08:24 +0100)
  display (missing first letter of foler names)
- rel 2

mutt-sidebar.patch
mutt.spec

index 0e08bfb44560def249b2051144b6f5b1e549a8f6..ff5435e757da1ab47929ddae191e2136bb2db429 100644 (file)
 +              /* 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) + ((Maildir[strlen(Maildir) - 1] == '/' || Maildir[strlen(Maildir) - 1] == '}') ? 0 : 1));
 +              if ( maildir_is_prefix && option(OPTSIDEBARFOLDERINDENT) ) {
 +                      char *tmp_folder_name;
 +                      int i;
index 4312a589d81da860be41522374e640c82c1abed6..49fe156b7496b4c0506d3226a1a072f9e2f103df 100644 (file)
--- a/mutt.spec
+++ b/mutt.spec
@@ -29,7 +29,7 @@ Summary(tr.UTF-8):    Mutt elektronik posta programı
 Summary(uk.UTF-8):     Поштова клієнтська програма Mutt
 Name:          mutt
 Version:       1.5.24
-Release:       1
+Release:       2
 Epoch:         6
 License:       GPL v2+
 Group:         Applications/Mail
This page took 0.125675 seconds and 4 git commands to generate.