mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #2464: find file: don't check content regexp
...if search for content is not used. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
3a25fb1b51
commit
186b2ff3f7
@ -437,7 +437,7 @@ find_parm_callback (Dlg_head * h, Widget * sender, dlg_msg_t msg, int parm, void
|
||||
}
|
||||
|
||||
/* check content regexp */
|
||||
if ((content_regexp_cbox->state & C_BOOL)
|
||||
if ((content_use_cbox->state & C_BOOL) && (content_regexp_cbox->state & C_BOOL)
|
||||
&& (in_with->buffer[0] != '\0') && !find_check_regexp (in_with->buffer))
|
||||
{
|
||||
h->state = DLG_ACTIVE; /* Don't stop the dialog */
|
||||
|
Loading…
Reference in New Issue
Block a user