mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:36:01 +01:00
Merge branch 'develop' of pwmt.org:zathura into develop
This commit is contained in:
commit
09d2ee0926
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ cc_bookmarks(girara_session_t* session, const char* input)
|
|||
}
|
||||
|
||||
const size_t input_length = input ? strlen(input) : 0;
|
||||
girara_list_sort(zathura->bookmarks.bookmarks, (girara_compare_function_t) g_strcmp0);
|
||||
|
||||
GIRARA_LIST_FOREACH(zathura->bookmarks.bookmarks, zathura_bookmark_t*, iter, bookmark)
|
||||
if (input_length <= strlen(bookmark->id) && !strncmp(input, bookmark->id, input_length)) {
|
||||
|
|
Loading…
Reference in a new issue