diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-14 16:19:27 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-04-14 16:19:27 +0000 |
commit | f91cf5690f3ee1a7d6ea3b28c4f139fee2d73338 (patch) | |
tree | 0583c2cd3bbc89203dc849b6e4d51e309f1531e1 /main.c | |
parent | [w3m-dev 03875] Re: SSL & compressed stream (diff) | |
download | w3m-f91cf5690f3ee1a7d6ea3b28c4f139fee2d73338.tar.gz w3m-f91cf5690f3ee1a7d6ea3b28c4f139fee2d73338.zip |
[w3m-dev 03878] I-search problem
* linein.c (inputLineHistSearch): don't call incrfunc twice
* main.c (dispincsrch): fix search loop problem
From: Masanori Kobayasi <zap03216@nifty.ne.jp>
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.222 2003/04/08 16:01:39 ukai Exp $ */ +/* $Id: main.c,v 1.223 2003/04/14 16:19:29 ukai Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -1628,14 +1628,6 @@ dispincsrch(int ch, Str buf, Lineprop *prop) SAVE_BUFPOSITION(&sbuf); srchcore(str, searchRoutine); arrangeCursor(Currentbuf); - if (Currentbuf->currentLine == currentLine - && Currentbuf->pos == pos) { - SAVE_BUFPOSITION(&sbuf); - if (searchRoutine == forwardSearch) - Currentbuf->pos += 1; - srchcore(str, searchRoutine); - arrangeCursor(Currentbuf); - } displayBuffer(Currentbuf, B_FORCE_REDRAW); clear_mark(Currentbuf->currentLine); return -1; |