Code

compatibility fixes for GLib 2.12
[ncmpc.git] / src / charset.c
index 1f51538b7f0df38abc1b1e2bdacc14bdba3201da..e57ab0f38076a1395397402008cbefde9eaf073e 100644 (file)
@@ -39,7 +39,7 @@ charset_init(void)
 static inline unsigned
 unicode_char_width(gunichar ch)
 {
-#if !GLIB_CHECK_VERSION(2,14,0)
+#if GLIB_CHECK_VERSION(2,14,0)
        if (g_unichar_iszerowidth(ch))
                return 0;
 #endif