mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 10:13:29 +00:00
Remove duplicate tests.
Issue discovered by cppcheck.
This commit is contained in:
parent
b22e8e5b7f
commit
36a6cb268f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user