diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-04 01:06:30 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-04 01:06:30 +0200 |
commit | 4d125739c1ac42d629360a7e2700410e788028c7 (patch) | |
tree | a6cb6812fcde435c79ab646b3496c075e4e0a094 /apps | |
parent | fc5ff7b56e0e0797570eba81a39e13d40aaccb40 (diff) | |
download | mupdf-4d125739c1ac42d629360a7e2700410e788028c7.tar.xz |
Change how files are opened with fz_openfd/file/filew.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfapp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfapp.c b/apps/pdfapp.c index 0faff3b3..a9cb698a 100644 --- a/apps/pdfapp.c +++ b/apps/pdfapp.c @@ -108,7 +108,7 @@ static void pdfapp_open_pdf(pdfapp_t *app, char *filename, int fd) * Open PDF and load xref table */ - file = fz_openfile(fd); + file = fz_openfd(fd); error = pdf_openxrefwithstream(&app->xref, file, nil); if (error) pdfapp_error(app, fz_rethrow(error, "cannot open document '%s'", filename)); |