1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-25 13:55:34 -05:00

[dmenu] Fix missing - in find_arg

This commit is contained in:
Dave Davenport 2022-07-23 23:25:37 +02:00
parent be6fe8ac61
commit 5a5d333fdf

View file

@ -876,8 +876,8 @@ int dmenu_mode_dialog(void) {
pd->multi_select = FALSE; pd->multi_select = FALSE;
pd->ballot_selected = ""; pd->ballot_selected = "";
pd->ballot_unselected = ""; pd->ballot_unselected = "";
find_arg_str("ballot-selected-str", &(pd->ballot_selected)); find_arg_str("-ballot-selected-str", &(pd->ballot_selected));
find_arg_str("ballot-unselected-str", &(pd->ballot_unselected)); find_arg_str("-ballot-unselected-str", &(pd->ballot_unselected));
if (find_arg("-multi-select") >= 0) { if (find_arg("-multi-select") >= 0) {
pd->multi_select = TRUE; pd->multi_select = TRUE;
} }