diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-05-12 16:34:12 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-05-12 16:34:12 +0000 |
commit | 548a62d53b49b4bba920bca6367401a3f77d41d1 (patch) | |
tree | 80eb13a672ae93532e74a001729227e8cb428d3f /main.c | |
parent | [w3m-dev 03896] html_quote in textarea in frame (diff) | |
download | w3m-548a62d53b49b4bba920bca6367401a3f77d41d1.tar.gz w3m-548a62d53b49b4bba920bca6367401a3f77d41d1.zip |
fix indent
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.225 2003/05/06 16:35:36 ukai Exp $ */ +/* $Id: main.c,v 1.226 2003/05/12 16:34:12 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -1626,11 +1626,11 @@ dispincsrch(int ch, Str buf, Lineprop *prop) if (searchRoutine == forwardSearch) Currentbuf->pos += 1; SAVE_BUFPOSITION(&sbuf); - if (srchcore(str, searchRoutine) == SR_NOTFOUND + if (srchcore(str, searchRoutine) == SR_NOTFOUND && searchRoutine == forwardSearch) { - Currentbuf->pos -= 1; - SAVE_BUFPOSITION(&sbuf); - } + Currentbuf->pos -= 1; + SAVE_BUFPOSITION(&sbuf); + } arrangeCursor(Currentbuf); displayBuffer(Currentbuf, B_FORCE_REDRAW); clear_mark(Currentbuf->currentLine); |