]> git.tuebingen.mpg.de Git - paraslash.git/commit - string.c
string.c: Simplify and rename wide character helpers.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 28 Feb 2016 21:13:20 +0000 (22:13 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 13 Mar 2016 17:11:32 +0000 (18:11 +0100)
commit5971e3303cf800603622c2475e07fdccc33e4915
tree797147b0cfd31ff11d9dd9ee7d1bfd0074148148
parent9b8cece0f67b0445dd66a9d2a89b9e69d2540173
string.c: Simplify and rename wide character helpers.

Just assume non-printable characters are one character wide. This gives
a more reasonable approximation than the hack we have now.

This patch also renames mutt_wcwidth() to xwcwidth() and
mutt_wcswidth() to xwcswidth() since these functions have nothing in
common with mutt any more.
string.c