From 59d8c24f585f8460c3ca20e9d34ea0268ada993f Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 28 Dec 2013 06:49:51 +0100 Subject: [PATCH] page: fix page bookmarks for epub files --- sys/src/cmd/page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/page.c b/sys/src/cmd/page.c index fa04b1bab..61595a1be 100644 --- a/sys/src/cmd/page.c +++ b/sys/src/cmd/page.c @@ -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;