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:
parent
bdea8b9787
commit
2817debc04
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue