mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@31273 d073be05-634f-4543-b044-5fe20cf6d1d6
26 lines
545 B
Diff
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
|