From 69f5b57d9cb77c8d483b5dc1fce9b076a29d35e0 Mon Sep 17 00:00:00 2001 From: mogami Date: Wed, 22 Oct 2003 12:56:18 +0000 Subject: [PATCH] =?utf8?q?=E5=80=A4=E3=81=8C=E5=81=BD=E3=81=AE=E6=9D=A1?= =?utf8?q?=E4=BB=B6=E5=88=86=E5=B2=90=E5=BC=8F=E3=81=AF=E7=84=A1=E5=8A=B9?= =?utf8?q?=E7=8A=B6=E6=85=8B=E3=81=A8=E3=81=97=E3=81=A6=E6=89=B1=E3=81=A3?= =?utf8?q?=E3=81=A6=E3=81=84=E3=82=8B=E3=81=8C=E3=80=81=E6=96=87=E5=AD=97?= =?utf8?q?=E5=88=97=E6=A4=9C=E7=B4=A2=E6=99=82=E3=81=AB=E3=81=AF=E3=82=B9?= =?utf8?q?=E3=82=AD=E3=83=83=E3=83=97=E3=81=97=E3=81=AA=E3=81=84=E3=82=88?= =?utf8?q?=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/autopick.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/autopick.c b/src/autopick.c index 200066016..bcc76e0f0 100644 --- a/src/autopick.c +++ b/src/autopick.c @@ -3518,7 +3518,8 @@ static void search_for_string(text_body_type *tb, cptr search_str, bool forward) if (!pos) continue; /* Found a line but it's inactive */ - if (tb->states[i] & LSTAT_BYPASS) + if ((tb->states[i] & LSTAT_BYPASS) && + !(tb->states[i] & LSTAT_EXPRESSION)) { /* If it is first found, remember it */ if (bypassed_cy == -1) -- 2.11.0