From f4e062b5fedfa4e92d318dd2222d1444530440d0 Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Mon, 10 Oct 2011 00:52:18 +0800 Subject: [PATCH] Enable function konsole_wcwidth_cjk() --- src/konsole_wcwidth.cpp | 2 -- src/konsole_wcwidth.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/konsole_wcwidth.cpp b/src/konsole_wcwidth.cpp index 6f6056a1d..018c348c2 100644 --- a/src/konsole_wcwidth.cpp +++ b/src/konsole_wcwidth.cpp @@ -132,7 +132,6 @@ int konsole_wcwidth(quint16 ucs) (ucs >= 0x20000 && ucs <= 0x2ffff) */)); } -#if 0 /* * The following function is the same as konsole_wcwidth(), except that * spacing characters in the East Asian Ambiguous (A) category as @@ -205,7 +204,6 @@ int konsole_wcwidth_cjk(quint16 ucs) return konsole_wcwidth(ucs); } -#endif int string_width( const QString& text ) { diff --git a/src/konsole_wcwidth.h b/src/konsole_wcwidth.h index 28e54204f..def3d40ac 100644 --- a/src/konsole_wcwidth.h +++ b/src/konsole_wcwidth.h @@ -11,9 +11,7 @@ #include int konsole_wcwidth(quint16 ucs); -#if 0 int konsole_wcwidth_cjk(Q_UINT16 ucs); -#endif int string_width( const QString& text );