changeset 4048:26b434331fce

(mouse-menu-bar-buffers): Don't lose if all buffer names are short.
author Richard M. Stallman <rms@gnu.org>
date Fri, 09 Jul 1993 04:04:39 +0000
parents e950abdc9ed2
children 7908fc6e4fb9
files lisp/menu-bar.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/menu-bar.el	Thu Jul 08 23:45:22 1993 +0000
+++ b/lisp/menu-bar.el	Fri Jul 09 04:04:39 1993 +0000
@@ -197,7 +197,7 @@
 				 (setq maxlen (length (car (car head))))))
 			  (setq tail (cdr tail)))
 			(nconc (reverse head)
-			       (list (cons (concat (make-string (- (/ maxlen 2) 8) ?\ )
+			       (list (cons (concat (make-string (max 0 (- (/ maxlen 2) 8)) ?\ )
 						   "List All Buffers")
 					   'list-buffers)))))))