commit 8cb1dd92ec5efce6dd7d299963ebdb6a7d554f8f
parent 99b8d61f6fcbbb8572c6f5e669bdc95a802b16ea
Author: ukai <ukai>
Date: Mon, 12 May 2003 16:34:12 +0000
fix indent
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/local.c b/local.c
@@ -50,7 +50,7 @@ localCookie()
char hostname[256];
if (Local_cookie)
- return Local_cookie;
+ return Local_cookie;
gethostname(hostname, 256);
srand48((long)New(char) + (long)time(NULL));
Local_cookie = Sprintf("%ld@%s", lrand48(), hostname);
diff --git a/main.c b/main.c
@@ -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);