diff options
Diffstat (limited to 'Src/cond.c')
-rw-r--r-- | Src/cond.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/cond.c b/Src/cond.c index 87c89ea92..654b756a3 100644 --- a/Src/cond.c +++ b/Src/cond.c @@ -206,7 +206,7 @@ evalcond(Estate state) &htok)); if (htok) singsub(&right); - save = (!state->prog->heap && + save = (state->prog->alloc != EA_HEAP && !strcmp(opat, right) && pprog != dummy_patprog2); if (!(pprog = patcompile(right, (save ? PAT_ZDUP : PAT_STATIC), |