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

[CMD] If failed to convert commandline option to new config do not stop.

Fixes: #1425
This commit is contained in:
Dave Davenport 2021-09-08 14:20:24 +02:00
parent 562146730b
commit b9e28942bf

View file

@ -553,7 +553,8 @@ void config_parse_cmd_options(void) {
g_string_append(str, " } ");
}
if (rofi_theme_parse_string(str->str) == 1) {
printf("failed\n");
/** Failed to parse, try again as string. */
rofi_clear_error_messages();
}
}
g_string_free(str, TRUE);