Code

hscroll: simplify the code with utf8_cut_width()
authorMax Kellermann <max@duempel.org>
Tue, 20 Oct 2009 06:00:12 +0000 (08:00 +0200)
committerMax Kellermann <max@duempel.org>
Tue, 20 Oct 2009 06:00:12 +0000 (08:00 +0200)
commitd5ad6e7e070c54b213c1f14aa6e89ab0f371dd97
tree82ca84bd966860199769efedeb59eff354c8967d
parent5560a99873b1a77021e4050c0aac7e8277e0e329
hscroll: simplify the code with utf8_cut_width()

Concatenate the input string twice, and select a substring from that
large string.
src/hscroll.c