fix Ticket #3203 - mcedit: replace dialog doesn't remember last entered replacement string
Signed-off-by: Andreas Mohr <and@gmx.li>
diff -ruN mc-4.8.13/src/editor/editcmd_dialogs.c mc-4.8.13.patch/src/editor/editcmd_dialogs.c
old
|
new
|
|
194 | 194 | if ((search_default == NULL) || (*search_default == '\0')) |
195 | 195 | search_default = INPUT_LAST_TEXT; |
196 | 196 | |
| 197 | if ((replace_default == NULL) || (*replace_default == '\0')) |
| 198 | replace_default = INPUT_LAST_TEXT; |
| 199 | |
197 | 200 | list_of_types = mc_search_get_types_strings_array (&num_of_types); |
198 | 201 | |
199 | 202 | { |