Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
09d2ee09
Commit
09d2ee09
authored
Oct 12, 2011
by
Moritz Lipp
Browse files
Merge branch 'develop' of pwmt.org:zathura into develop
parents
9f1a3c6c
d94c6a9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
completion.c
View file @
09d2ee09
...
...
@@ -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
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment