Browse Source

Merge branch 'maint'

Nicolas Goaziou 4 years ago
parent
commit
3e497bec35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-ascii.el

+ 1 - 1
lisp/ox-ascii.el

@@ -1033,7 +1033,7 @@ INFO is a plist used as a communication channel."
 	     ;; Format TITLE.  It may be filled if it is too wide,
 	     ;; Format TITLE.  It may be filled if it is too wide,
 	     ;; that is wider than the two thirds of the total width.
 	     ;; that is wider than the two thirds of the total width.
 	     (title-len (min (apply #'max
 	     (title-len (min (apply #'max
-				    (mapcar #'length
+				    (mapcar #'string-width
 					    (org-split-string
 					    (org-split-string
 					     (concat title "\n" subtitle) "\n")))
 					     (concat title "\n" subtitle) "\n")))
 			     (/ (* 2 text-width) 3)))
 			     (/ (* 2 text-width) 3)))