Code

added support for wide characters
authorMax Kellermann <max@duempel.org>
Thu, 18 Sep 2008 11:18:16 +0000 (13:18 +0200)
committerMax Kellermann <max@duempel.org>
Thu, 18 Sep 2008 11:18:16 +0000 (13:18 +0200)
commitcfa2f7b625ed645257897f94f258832f076ee6b0
treee3b87ffbef631722fd2aec81742707aab94dcb75
parenta67a7dd81bf2f14afbf6b8cd0ae50d7ecdf9fec5
added support for wide characters

This patch was taken from bug 476, author unknown
(http://www.musicpd.org/mantis/view.php?id=476).  It changes the
definition of my_strlen(): instead of returning the number of UTF-8
characters, it counts the number of terminal cells occupied by a
string.
src/support.c
src/support.h