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
40dd2b46
Commit
40dd2b46
authored
Jun 20, 2012
by
Sebastian Ramacher
Browse files
Fix off-by-one.
parent
c25f8923
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils.c
View file @
40dd2b46
...
...
@@ -156,7 +156,7 @@ document_index_build(GtkTreeModel* model, GtkTreeIter* parent,
gchar
*
description
=
NULL
;
if
(
type
==
ZATHURA_LINK_GOTO_DEST
)
{
description
=
g_strdup_printf
(
"Page %d"
,
target
.
page_number
);
description
=
g_strdup_printf
(
"Page %d"
,
target
.
page_number
+
1
);
}
else
{
description
=
g_strdup
(
target
.
value
);
}
...
...
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