| author | Max Kellermann <max@duempel.org> | |
| Thu, 2 Oct 2008 17:01:02 +0000 (19:01 +0200) | ||
| committer | Max Kellermann <max@duempel.org> | |
| Thu, 2 Oct 2008 17:01:02 +0000 (19:01 +0200) | ||
| commit | ee9951222c4f0e3970466f6aba2e42dea21a6cdc | |
| tree | e02b7d1ae6b5078df340485e1b81861a0aab9e12 | tree | snapshot |
| parent | b693269fd9740a3074b84da5645f6bd9daa6486e | commit | diff |
charset: renamed my_strlen() to utf8_width()
my_strlen() is a bad name for the function, since the return value is
not a length, but a visible width on the screen. Rename it to
utf8_width() and change its return type to "unsigned".
my_strlen() is a bad name for the function, since the return value is
not a length, but a visible width on the screen. Rename it to
utf8_width() and change its return type to "unsigned".
| src/charset.c | diff | blob | history | |
| src/charset.h | diff | blob | history | |
| src/list_window.c | diff | blob | history | |
| src/screen.c | diff | blob | history | |
| src/support.c | diff | blob | history | |
| src/wreadln.c | diff | blob | history |