aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-11 03:00:16 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-11 03:00:16 +0000
commitc193e47cda0c295d3c6f8a9502630e2b6b7515ec (patch)
tree3633a85a270f78abe725784e7e108a4f13e80e29
parent2002-01-11 Akinori Ito <aito@fw.ipsj.or.jp> (diff)
downloadw3m-c193e47cda0c295d3c6f8a9502630e2b6b7515ec.tar.gz
w3m-c193e47cda0c295d3c6f8a9502630e2b6b7515ec.zip
run make indent
Diffstat (limited to '')
-rw-r--r--search.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/search.c b/search.c
index 2b04c34..c5a1829 100644
--- a/search.c
+++ b/search.c
@@ -1,4 +1,4 @@
-/* $Id: search.c,v 1.6 2002/01/11 02:24:13 a-ito Exp $ */
+/* $Id: search.c,v 1.7 2002/01/11 03:00:16 ukai Exp $ */
#include "fm.h"
#include "regex.h"
@@ -23,8 +23,7 @@ forwardSearch(Buffer *buf, char *str)
if (l->propBuf[pos] & PC_KANJI2)
pos++;
#endif
- if (pos < l->len &&
- regexMatch(&l->lineBuf[pos], l->len - pos, 0) == 1) {
+ if (pos < l->len && regexMatch(&l->lineBuf[pos], l->len - pos, 0) == 1) {
matchedPosition(&first, &last);
buf->pos = first - l->lineBuf;
arrangeCursor(buf);