Skip to content
Snippets Groups Projects
Commit a0ddc0dc authored by Roland Angerer's avatar Roland Angerer
Browse files

re-randomize after list is through

parent 4b8d812d
No related branches found
No related tags found
No related merge requests found
......@@ -692,7 +692,13 @@ gib_list *feh_list_jump(gib_list * root, gib_list * l, int direction, int num)
if (opt.cycle_once) {
exit(0);
}
ret = root;
if (opt.randomize) {
/* Randomize the filename order */
filelist = gib_list_randomize(filelist);
ret = filelist;
} else {
ret = root;
}
}
} else {
if (ret->prev)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment