Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 1680b42..2094b86 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -665,7 +665,7 @@ ev_window_find_chapter (GtkTreeModel *tree_model,
if (!page_string)
return FALSE;
- if (!strncmp (page_string + strlen ("<i>"), task->page_label, strlen (task->page_label))) {
+ if (!strcmp (page_string, task->page_label)) {
gtk_tree_model_get (tree_model, iter,
EV_DOCUMENT_LINKS_COLUMN_MARKUP, &task->chapter,
-1);