From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mutt/files/
Date: Thu, 22 Dec 2016 15:47:11 +0000 (UTC) [thread overview]
Message-ID: <1482421616.368cef0a46e63dbb66979571b8b643a3b7668bb2.kensington@gentoo> (raw)
commit: 368cef0a46e63dbb66979571b8b643a3b7668bb2
Author: Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Tue Dec 13 20:22:38 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 15:46:56 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=368cef0a
mail-client/mutt: remove unused patch
...1-neomutt-index_format_truncation_problem.patch | 32 ----------------------
1 file changed, 32 deletions(-)
diff --git a/mail-client/mutt/files/mutt-1.6.1-neomutt-index_format_truncation_problem.patch b/mail-client/mutt/files/mutt-1.6.1-neomutt-index_format_truncation_problem.patch
deleted file mode 100644
index 3798b35..00000000
--- a/mail-client/mutt/files/mutt-1.6.1-neomutt-index_format_truncation_problem.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 099af5ae3e21bdceb3baf871e4b0a8926205e707 Mon Sep 17 00:00:00 2001
-From: Richard Russon <rich@flatcap.org>
-Date: Wed, 15 Jun 2016 16:47:22 +0100
-Subject: [PATCH] fix index_format truncation problem
-
-mutt_wstr_trunc() didn't take index coloring into account when measuring a
-string's length. When combined with a soft-fill '%* ' in the index_format it
-lead to formatting problems.
-
-Fixes: #51
----
- curs_lib.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/curs_lib.c b/curs_lib.c
-index ce4e56d..9a3f5e5 100644
---- a/curs_lib.c
-+++ b/curs_lib.c
-@@ -1201,7 +1201,12 @@ size_t mutt_wstr_trunc (const char *src, size_t maxlen, size_t maxwid, size_t *w
- cw = wcwidth (wc);
- /* hack because MUTT_TREE symbols aren't turned into characters
- * until rendered by print_enriched_string (#3364) */
-- if (cw < 0 && cl == 1 && src[0] && src[0] < MUTT_TREE_MAX)
-+ if ((cw < 0) && (src[0] == MUTT_SPECIAL_INDEX))
-+ {
-+ cl = 2; /* skip the index coloring sequence */
-+ cw = 0;
-+ }
-+ else if (cw < 0 && cl == 1 && src[0] && src[0] < MUTT_TREE_MAX)
- cw = 1;
- else if (cw < 0)
- cw = 0; /* unprintable wchar */
reply other threads:[~2016-12-22 15:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1482421616.368cef0a46e63dbb66979571b8b643a3b7668bb2.kensington@gentoo \
--to=kensington@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox