summaryrefslogtreecommitdiff
path: root/sys/src/cmd/page.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-10-05 00:05:51 +0200
committercinap_lenrek <cinap_lenrek@centraldogma>2011-10-05 00:05:51 +0200
commit569e0181b2664032b83376eeafbc7900bb54ce44 (patch)
tree9e2daf4e2cea96c322b817918e921eec4dabd4f6 /sys/src/cmd/page.c
parent3efbb4fa00f8d8d055227f54e71e2eb24ff39729 (diff)
mothra: animated gifs, page: cleanup
Diffstat (limited to 'sys/src/cmd/page.c')
-rw-r--r--sys/src/cmd/page.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/page.c b/sys/src/cmd/page.c
index 06fc359a0..ec7f6f735 100644
--- a/sys/src/cmd/page.c
+++ b/sys/src/cmd/page.c
@@ -625,7 +625,7 @@ popenfile(Page *p)
{
static struct {
char *typ;
- void *popen;
+ void *open;
void *data;
} tab[] = {
"application/pdf", popengs, nil,
@@ -709,7 +709,7 @@ popenfile(Page *p)
}
p->fd = fd;
p->data = tab[i].data;
- p->open = tab[i].popen;
+ p->open = tab[i].open;
if(seek(fd, 0, 0) < 0)
goto Noseek;
if((i = read(fd, buf+n, n)) < 0)