]> git.alsa-project.org Git - alsa-utils.git/commit
alsamixer: fix text box clipping with multi-column characters
authorClemens Ladisch <clemens@ladisch.de>
Thu, 28 May 2009 07:16:11 +0000 (09:16 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Thu, 28 May 2009 07:16:11 +0000 (09:16 +0200)
commit730e8253ef6aebba4c572b5c6ef2461952a97f36
treeac94e910b33827fc964252da7c3e88ca8699bed7
parent8290353c5f9467ada94327010cebb6310bca0c8b
alsamixer: fix text box clipping with multi-column characters

When a multi-column character would straddle the left window border of
a text box, we have to take the inserted space character into account
when we compute how many characters fit into the rest of the line.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
alsamixer/textbox.c