Christophe
Weblog
Wiki
Code
Publications
Music
projects
/
squeeze-el.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b96c04
)
handle new? behaviour of %s given a character
author
Christophe Rhodes
<csr21@cantab.net>
Thu, 16 Oct 2014 13:17:08 +0000
(14:17 +0100)
committer
Christophe Rhodes
<csr21@cantab.net>
Thu, 16 Oct 2014 13:17:08 +0000
(14:17 +0100)
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
patch
|
blob
|
history
diff --git
a/squeeze.el
b/squeeze.el
index 6e4f4da4c35371d6b677382a768b0fb3f3b83a42..415d569bcf4959edc22217ee72cc4bf71ef1355e 100644
(file)
--- 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)