From: Christophe Rhodes Date: Thu, 16 Oct 2014 13:17:08 +0000 (+0100) Subject: handle new? behaviour of %s given a character X-Git-Url: http://christophe.rhodes.io/gitweb/?a=commitdiff_plain;h=424fa31e8640b5aad988cbc0dc6baba85072a83c;p=squeeze-el.git 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. --- 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)