Annotation of /trunk/nano/patches/nano-1.3.8-fix-replace.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 305 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 305 byte(s)
-import
1 | niro | 153 | Patch from upstream. |
2 | --- nano-1.3.8/src/search.c | ||
3 | +++ nano-1.3.8/src/search.c | ||
4 | @@ -907,6 +907,8 @@ | ||
5 | last_search = mallocstrcpy(last_search, answer); | ||
6 | } | ||
7 | |||
8 | + last_replace = mallocstrcpy(last_replace, ""); | ||
9 | + | ||
10 | i = statusq(FALSE, replace_list_2, last_replace, | ||
11 | #ifndef NANO_SMALL | ||
12 | &replace_history, |