mirror of https://github.com/davatorium/rofi.git
[XrmOptions] Small fix in parsing cmdline option.
This commit is contained in:
parent
bdea8b9787
commit
2817debc04
|
@ -555,7 +555,7 @@ void config_parse_cmd_options(void) {
|
||||||
for (int j = 1; tokens && tokens[j]; j++) {
|
for (int j = 1; tokens && tokens[j]; j++) {
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
if (count == 2) {
|
if (count >= 2) {
|
||||||
if (g_str_has_prefix(tokens[1], "theme")) {
|
if (g_str_has_prefix(tokens[1], "theme")) {
|
||||||
g_strfreev(tokens);
|
g_strfreev(tokens);
|
||||||
tokens = g_strsplit(stored_argv[in], "+", 0);
|
tokens = g_strsplit(stored_argv[in], "+", 0);
|
||||||
|
|
Loading…
Reference in New Issue