From fe142c4d06bc52d10f18f4b563a724b584e89388 Mon Sep 17 00:00:00 2001
From: Mooffie <mooffie@gmail.com>
Date: Sat, 3 Dec 2016 23:00:30 +0200
Subject: [PATCH] Ticket #3735: make editor show backwards-search error
messages.
---
src/editor/editcmd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/editor/editcmd.c b/src/editor/editcmd.c
index c7e91d7..26aad03 100644
a
|
b
|
editcmd_find (edit_search_status_msg_t * esm, gsize * len) |
868 | 868 | if (ok && edit->search->normal_offset == search_start) |
869 | 869 | return TRUE; |
870 | 870 | |
871 | | /* Abort search. */ |
872 | | if (!ok && edit->search->error == MC_SEARCH_E_ABORT) |
| 871 | /* We abort the search in case of a pattern error, or if the user aborts |
| 872 | the search. In other words: in all cases except "string not found". */ |
| 873 | if (!ok && edit->search->error != MC_SEARCH_E_NOTFOUND) |
873 | 874 | return FALSE; |
874 | 875 | |
875 | 876 | if ((edit->search_line_type & AT_START_LINE) != 0) |