page: fix page bookmarks for epub files

This commit is contained in:
cinap_lenrek 2013-12-28 06:49:51 +01:00
parent 7143b286b7
commit 59d8c24f58

View file

@ -441,7 +441,7 @@ popenepub(Page *p)
while(n > 0 && s[n-1] == '\n')
n--;
s[n] = 0;
addpage(p, buf, popenfile, strdup(buf), -1);
addpage(p, s, popenfile, strdup(buf), -1);
}
close(fd);
return -1;