Commit 213bd7f2 authored by Andreas Schwab's avatar Andreas Schwab

* regex.c (re_iswctype): Remove some redundant boolean conversions.

parent 99aaf75f
2011-08-04 Andreas Schwab <schwab@linux-m68k.org>
* regex.c (re_iswctype): Remove some redundant boolean
conversions.
2011-08-04 Jan Djärv <jan.h.d@swipnet.se>
* xterm.c (x_find_topmost_parent): New function.
......
......@@ -2106,9 +2106,9 @@ re_iswctype (int ch, re_wctype_t cc)
case RECC_UPPER: return ISUPPER (ch) != 0;
case RECC_XDIGIT: return ISXDIGIT (ch) != 0;
case RECC_ASCII: return IS_REAL_ASCII (ch) != 0;
case RECC_NONASCII: return !IS_REAL_ASCII (ch) != 0;
case RECC_NONASCII: return !IS_REAL_ASCII (ch);
case RECC_UNIBYTE: return ISUNIBYTE (ch) != 0;
case RECC_MULTIBYTE: return !ISUNIBYTE (ch) != 0;
case RECC_MULTIBYTE: return !ISUNIBYTE (ch);
case RECC_WORD: return ISWORD (ch) != 0;
case RECC_ERROR: return false;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment