Remove duplicate tests.

Issue discovered by cppcheck.
This commit is contained in:
Mark de Wever 2011-11-20 18:51:50 +00:00
parent b22e8e5b7f
commit 36a6cb268f

View File

@ -374,8 +374,8 @@ inline bool no_break_after(const wchar_t ch)
* don't break after these Chinese characters
* contains left side of different kinds of brackets and quotes
*/
ch == 0x3014 || ch == 0x3016 || ch == 0x3008 || ch == 0x301a || ch == 0x3008 ||
ch == 0x300a || ch == 0x300c || ch == 0x300e || ch == 0x3010 || ch == 0x301d;
ch == 0x3014 || ch == 0x3016 || ch == 0x301a || ch == 0x300a || ch == 0x300c ||
ch == 0x300e || ch == 0x3010 || ch == 0x301d;
}
inline bool no_break_before(const wchar_t ch)