Code

Fix compiling with --disable-locale
authorThomas Adam <thomas.adam22@gmail.com>
Mon, 30 Nov 2009 00:50:37 +0000 (00:50 +0000)
committerMax Kellermann <max@duempel.org>
Mon, 30 Nov 2009 07:56:36 +0000 (08:56 +0100)
commit19267b94dc72a500a7760aed2ad1ee8705932775
treef0119816431ea1c331a51fda4f50b415249a9d49
parent2c4fc4eaf97bbcf9bb86a46a1089079d0cadeced
Fix compiling with --disable-locale

locale_width() was previously broken when trying to compile ncmpc
without locale support.  This was due to stale code in an #if block.

Signed-off-by: Thomas Adam <thomas.adam22@gmail.com>
src/charset.c