From d12d215583281e4983ecda9ba3e6b64e9cd9666f Mon Sep 17 00:00:00 2001 From: habu Date: Mon, 8 Feb 2010 14:33:31 +0000 Subject: [PATCH] =?utf8?q?=E8=87=AA=E5=8B=95=E6=8B=BE=E3=81=84=E3=82=A8?= =?utf8?q?=E3=83=87=E3=82=A3=E3=82=BF=E3=81=A7free=E3=81=97=E3=81=9F?= =?utf8?q?=E9=A0=98=E5=9F=9F=E3=82=92=E3=82=A2=E3=82=AF=E3=82=BB=E3=82=B9?= =?utf8?q?=E3=81=97=E3=81=A6=E3=81=84=E3=82=8B=E3=83=90=E3=82=B0=E3=82=92?= =?utf8?q?=E4=BF=AE=E6=AD=A3=E3=80=82=20(v=E3=81=8Cs=5Fkeep=E3=81=8C?= =?utf8?q?=E4=BF=9D=E6=8C=81=E3=81=97=E3=81=A6=E3=81=84=E3=82=8B=E3=83=92?= =?utf8?q?=E3=83=BC=E3=83=97=E9=A0=98=E5=9F=9F=E4=B8=8A=E3=82=92=E6=8C=87?= =?utf8?q?=E3=81=99=E4=BA=8B=E3=81=8C=E3=81=82=E3=82=8B)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/autopick.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/autopick.c b/src/autopick.c index 50efa1c2d..12794762f 100644 --- a/src/autopick.c +++ b/src/autopick.c @@ -4623,13 +4623,13 @@ static void draw_text_editor(text_body_type *tb) /* Parse the expr */ v = process_pref_file_expr(&ss, &f); - /* Cannot use string_free() because the string was "destroyed" */ - C_FREE(s_keep, s_len + 1, char); - /* Set flag */ if (streq(v, "0")) state |= LSTAT_BYPASS; else state &= ~LSTAT_BYPASS; + /* Cannot use string_free() because the string was "destroyed" */ + C_FREE(s_keep, s_len + 1, char); + /* Re-update this line's state */ tb->states[y] = state | LSTAT_EXPRESSION; } -- 2.11.0