From 424fa31e8640b5aad988cbc0dc6baba85072a83c Mon Sep 17 00:00:00 2001 From: Christophe Rhodes Date: Thu, 16 Oct 2014 14:17:08 +0100 Subject: [PATCH] handle new? behaviour of %s given a character I'm sure it worked before, but now it prints the integer, not a one-element character. Use an explicit call to `string' to fix it. --- squeeze.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squeeze.el b/squeeze.el index 6e4f4da..415d569 100644 --- a/squeeze.el +++ b/squeeze.el @@ -146,7 +146,7 @@ (make-string nfull ?█) (if (= width (+ nfull nblank)) "" - (aref " ▏▎▍▌▋▊▉█" (floor (+ frac 0.0625) 0.125))) + (string (aref " ▏▎▍▌▋▊▉█" (floor (+ frac 0.0625) 0.125)))) (make-string nblank ? )))) (defun squeeze-mixer-make-bar (vol width) -- 2.30.2