[XrmOptions] Small fix in parsing cmdline option.

This commit is contained in:
Dave Davenport 2022-01-25 20:29:06 +01:00
parent bdea8b9787
commit 2817debc04
1 changed files with 1 additions and 1 deletions

View File

@ -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);