1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[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

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