aboutsummaryrefslogtreecommitdiffstats
path: root/search.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-24 02:01:26 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-24 02:01:26 +0000
commit975c8f9d43d4026bf1d669b08646e9d29a9d02e4 (patch)
treefd8aed139ffef712ccbb2d392c13b3949b0192c5 /search.c
parent[w3m-dev 02530] segfault for bad cookie from local (diff)
downloadw3m-975c8f9d43d4026bf1d669b08646e9d29a9d02e4.tar.gz
w3m-975c8f9d43d4026bf1d669b08646e9d29a9d02e4.zip
run make indent
Diffstat (limited to 'search.c')
-rw-r--r--search.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/search.c b/search.c
index d4a831c..85357c9 100644
--- a/search.c
+++ b/search.c
@@ -1,9 +1,9 @@
-/* $Id: search.c,v 1.3 2001/11/20 17:49:23 ukai Exp $ */
+/* $Id: search.c,v 1.4 2001/11/24 02:01:26 ukai Exp $ */
#include "fm.h"
#include "regex.h"
int
-forwardSearch(Buffer * buf, char *str)
+forwardSearch(Buffer *buf, char *str)
{
char *p, *first, *last;
Line *l, *begin;
@@ -71,7 +71,7 @@ forwardSearch(Buffer * buf, char *str)
}
int
-backwardSearch(Buffer * buf, char *str)
+backwardSearch(Buffer *buf, char *str)
{
char *p, *q, *found, *first, *last;
Line *l, *begin;
@@ -84,8 +84,8 @@ backwardSearch(Buffer * buf, char *str)
}
l = begin = buf->currentLine;
if (l == NULL) {
- disp_message("Not found", FALSE);
- return FALSE;
+ disp_message("Not found", FALSE);
+ return FALSE;
}
if (buf->pos > 0) {
pos = buf->pos - 1;