Files
macports-ports/textproc/lv/files/patch-src_command.c.diff
2007-11-19 05:29:16 +00:00

26 lines
545 B
Diff

--- src/command.c.orig 2004-01-05 16:42:31.000000000 +0900
+++ src/command.c 2007-02-27 00:30:47.000000000 +0900
@@ -413,6 +413,14 @@
ConsoleClearRight();
istr = CommandGetLine( f, prompt );
if( NULL == istr ){
+#if 1
+ if( NULL != f->find.pattern ){
+ res = CommandFindContinue( f, direction );
+ return res;
+ } else {
+ return NULL;
+ }
+#else
/*
* $B%Q%?!<%sM-$j$+$iL5$7(B
*/
@@ -426,6 +434,7 @@
}
}
return NULL;
+#endif
} else {
/*
* $B%Q%?!<%s$N%;%C%H(B