mirror of
https://github.com/rfivet/uemacs.git
synced 2025-11-23 11:41:15 -05:00
Harmonize usage of mlreply, mlreplyt and nextarg based on actual needs (input always terminated either on meta or newline characters).
This commit is contained in:
3
search.c
3
search.c
@@ -713,7 +713,8 @@ static int readpattern(char *prompt, char *apat, int srch)
|
||||
* Then, if it's the search string, make a reversed pattern.
|
||||
* *Then*, make the meta-pattern, if we are defined that way.
|
||||
*/
|
||||
if ((status = mlreplyt(tpat, tpat, NPAT, metac)) == TRUE) {
|
||||
status = mlreplyt( tpat, tpat, NPAT) ;
|
||||
if( status == TRUE) {
|
||||
strcpy(apat, tpat);
|
||||
if (srch) { /* If we are doing the search string. */
|
||||
/* Reverse string copy, and remember
|
||||
|
||||
Reference in New Issue
Block a user