aboutsummaryrefslogtreecommitdiffstats
path: root/common/recsel.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/recsel.c')
-rw-r--r--common/recsel.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/recsel.c b/common/recsel.c
index fa3debaaf..3be491c8f 100644
--- a/common/recsel.c
+++ b/common/recsel.c
@@ -506,7 +506,11 @@ recsel_select (recsel_expr_t selector,
{
value = getval? getval (cookie, se->name) : NULL;
if (!value)
- value = "";
+ {
+ se = se->next;
+ result = 0;
+ continue;
+ }
if (!*value)
{