page: fix page bookmarks for epub files
This commit is contained in:
parent
7143b286b7
commit
59d8c24f58
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue