diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-04-20 16:00:13 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-04-20 16:10:02 +0100 |
commit | c6e27a74283a1fa31a930f1909dbc46e131f0447 (patch) | |
tree | b0104b5dd19f07fec8d2c03720c3efc8a8f60166 /apps/pdfapp.h | |
parent | 9fbd2de7411f6c87c6f1ad0d9adfba9fe5164e0f (diff) | |
download | mupdf-c6e27a74283a1fa31a930f1909dbc46e131f0447.tar.xz |
Pass UTF8 filename to fz_open_document / fz_open_file to remove kludges.
Use _wopen on a UTF8 -> wchar_t decoded filename to support UTF8 filenames
for win32.
Diffstat (limited to 'apps/pdfapp.h')
-rw-r--r-- | apps/pdfapp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/pdfapp.h b/apps/pdfapp.h index 6812323b..f93b816a 100644 --- a/apps/pdfapp.h +++ b/apps/pdfapp.h @@ -100,7 +100,7 @@ struct pdfapp_s }; void pdfapp_init(fz_context *ctx, pdfapp_t *app); -void pdfapp_open(pdfapp_t *app, char *filename, int fd, int reload); +void pdfapp_open(pdfapp_t *app, char *filename, int reload); void pdfapp_close(pdfapp_t *app); char *pdfapp_version(pdfapp_t *app); |