From 1361dd37bc758c84ab32f629d04327231954c60b Mon Sep 17 00:00:00 2001 From: Dmitry Kurochkin Date: Fri, 9 Mar 2012 11:34:53 +0400 Subject: emacs: fix off-by-one error in notmuch-hello column alignment Expected results for few tests are fixed, the relevant test is unmarked broken. --- emacs/notmuch-hello.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/notmuch-hello.el b/emacs/notmuch-hello.el index e9caade..28f39f1 100644 --- a/emacs/notmuch-hello.el +++ b/emacs/notmuch-hello.el @@ -461,7 +461,7 @@ Such a list can be computed with `notmuch-hello-query-counts'." ;; just insert `(- widest (length name))' spaces - the ;; column separator is included in the button if ;; `(equal widest (length name)'. - (widget-insert (make-string (max 1 + (widget-insert (make-string (max 0 (- widest (length name))) ? ))))) (setq count (1+ count)) -- cgit v1.2.3