diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-22 15:57:29 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-22 15:57:29 +0000 |
commit | e3c33e02e6ce22c083024c0c5a6bb6bb59b257ae (patch) | |
tree | f58660004e9f553e89f774ee991e6357e413916c /regex.c | |
parent | [w3m-dev 03464] Re: case insensitive regexp search (diff) | |
download | w3m-e3c33e02e6ce22c083024c0c5a6bb6bb59b257ae.tar.gz w3m-e3c33e02e6ce22c083024c0c5a6bb6bb59b257ae.zip |
fix indent
Diffstat (limited to '')
-rw-r--r-- | regex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: regex.c,v 1.17 2002/11/22 15:56:43 ukai Exp $ */ +/* $Id: regex.c,v 1.18 2002/11/22 15:57:29 ukai Exp $ */ /* * regex: Regular expression pattern match library * @@ -659,7 +659,7 @@ matchWhich(longchar * pattern, longchar c, int igncase) ans = 1; break; } - else if (igncase && c < 127 && IS_ALPHA(c) && + else if (igncase && c < 127 && IS_ALPHA(c) && ((*p <= c && tolower(c) <= *(p + 2)) || (*p <= c && toupper(c) <= *(p + 2)))) { ans = 1; @@ -672,7 +672,7 @@ matchWhich(longchar * pattern, longchar c, int igncase) ans = 1; break; } - else if (igncase && c < 127 && IS_ALPHA(c) && + else if (igncase && c < 127 && IS_ALPHA(c) && (*p == tolower(c) || *p == toupper(c))) { ans = 1; break; |