| author | Max Kellermann <max@duempel.org> | |
| Tue, 20 Oct 2009 06:00:12 +0000 (08:00 +0200) | ||
| committer | Max Kellermann <max@duempel.org> | |
| Tue, 20 Oct 2009 06:00:12 +0000 (08:00 +0200) | ||
| commit | d5ad6e7e070c54b213c1f14aa6e89ab0f371dd97 | |
| tree | 82ca84bd966860199769efedeb59eff354c8967d | tree | snapshot |
| parent | 5560a99873b1a77021e4050c0aac7e8277e0e329 | commit | diff |
hscroll: simplify the code with utf8_cut_width()
Concatenate the input string twice, and select a substring from that
large string.
Concatenate the input string twice, and select a substring from that
large string.
| src/hscroll.c | diff | blob | history |