diff options
author | Max Kellermann <max@duempel.org> | 2008-10-06 16:54:54 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-06 16:54:54 +0200 |
commit | 9bc6698a96e318e5c47ae66254c3a8ae3f44bf97 (patch) | |
tree | 3bad0a5a3a72f5bba73c9f8e0aaf64a24528c6df /src/charset.c | |
parent | 8736e490253e08ed36ddeed8d572a39a450a88b4 (diff) | |
download | mpd-9bc6698a96e318e5c47ae66254c3a8ae3f44bf97.tar.gz mpd-9bc6698a96e318e5c47ae66254c3a8ae3f44bf97.tar.xz mpd-9bc6698a96e318e5c47ae66254c3a8ae3f44bf97.zip |
configure.ac: added option --disable-wide
The configure option "--disable-wide" disables wide character support.
This simplifies lots of internal calculations and makes the ncmpc
binary leaner.
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c index ccfac0ef8..5625f1277 100644 --- a/src/charset.c +++ b/src/charset.c @@ -41,7 +41,7 @@ utf8_width(const char *str) { assert(str != NULL); -#ifdef HAVE_LOCALE_H +#ifdef ENABLE_WIDE if (g_utf8_validate(str, -1, NULL)) { size_t len = g_utf8_strlen(str, -1); unsigned width = 0; |