From 2817debc041db5a17c92039815189f6da5f4311a Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 25 Jan 2022 20:29:06 +0100 Subject: [PATCH] [XrmOptions] Small fix in parsing cmdline option. --- source/xrmoptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/xrmoptions.c b/source/xrmoptions.c index 80924135..d9e39ea7 100644 --- a/source/xrmoptions.c +++ b/source/xrmoptions.c @@ -555,7 +555,7 @@ void config_parse_cmd_options(void) { for (int j = 1; tokens && tokens[j]; j++) { count++; } - if (count == 2) { + if (count >= 2) { if (g_str_has_prefix(tokens[1], "theme")) { g_strfreev(tokens); tokens = g_strsplit(stored_argv[in], "+", 0);