diff options
-rw-r--r-- | yeetube-buffer.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yeetube-buffer.el b/yeetube-buffer.el index c1c53b6..ed57809 100644 --- a/yeetube-buffer.el +++ b/yeetube-buffer.el @@ -111,12 +111,12 @@ (defun yeetube-buffer--format-video-duration (video-duration) "Format a video VIDEO-DURATION to be inserted in the *yeetube* buffer." (let* ((n (string-width video-duration)) - (extra-chars (- n 10)) + (extra-chars (- n 13)) (formatted-string (if (<= extra-chars 0) (concat video-duration (make-string (abs extra-chars) ?\ ) " ") - (concat (seq-subseq video-duration 0 20) + (concat (seq-subseq video-duration 0 10) "...")))) (propertize formatted-string 'face 'yeetube-face-duration))) |