git: 9front

Download patch

ref: 03b067c14bcee1f0183a53ca331304bdbdf30f2a
parent: bcd8e780a952b96b910175a4965a0f47dcc6ec74
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Dec 28 01:49:51 EST 2013

page: fix page bookmarks for epub files

--- a/sys/src/cmd/page.c
+++ b/sys/src/cmd/page.c
@@ -441,7 +441,7 @@
 		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;
--