From 19636dc6a5aacc09b320b60941004cadde7c6cf8 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 1 Nov 2008 22:57:15 +0100 Subject: [PATCH 1/1] parse_select_options(): Check directly for NULL strings. This is equivalent to checking whether a select option was given in select mode, but it makes a difference in interactive mode. --- select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select.c b/select.c index c360366..9a19825 100644 --- a/select.c +++ b/select.c @@ -657,7 +657,7 @@ int parse_select_options(char *string, struct select_cmdline_parser_params *para char *fmt = NULL; struct atom *atoms; - if (conf.select_options_given) { + if (string) { int argc; char **argv; -- 2.39.2