diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 11:31:36 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 14:11:10 +0100 |
commit | 3afdcd7307fd5e68f35c7bb91a4d856499f1df44 (patch) | |
tree | 13253bb6d7af2716f882e878be956fa157544ec6 /platform/x11/pdfapp.c | |
parent | 88a1d527a50e3cc48606ce097a335669ae84a716 (diff) | |
download | mupdf-3afdcd7307fd5e68f35c7bb91a4d856499f1df44.tar.xz |
Rename fz_write_x to fz_save_pixmap_as_x or fz_save_bitmap_as_x.
Separate naming of functions that save complete files to disk
from functions that write data to streams.
Diffstat (limited to 'platform/x11/pdfapp.c')
-rw-r--r-- | platform/x11/pdfapp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/x11/pdfapp.c b/platform/x11/pdfapp.c index be8ab751..314592a1 100644 --- a/platform/x11/pdfapp.c +++ b/platform/x11/pdfapp.c @@ -551,7 +551,7 @@ static int pdfapp_save(pdfapp_t *app) if (wingetsavepath(app, buf, PATH_MAX)) { - fz_write_options opts; + fz_save_options opts; opts.do_incremental = 1; opts.do_ascii = 0; @@ -562,7 +562,7 @@ static int pdfapp_save(pdfapp_t *app) if (strcmp(buf, app->docpath) != 0) { wincopyfile(app->docpath, buf); - fz_write_document(app->ctx, app->doc, buf, &opts); + fz_save_document(app->ctx, app->doc, buf, &opts); return 1; } @@ -573,7 +573,7 @@ static int pdfapp_save(pdfapp_t *app) fz_try(app->ctx) { wincopyfile(app->docpath, buf); - fz_write_document(app->ctx, app->doc, buf, &opts); + fz_save_document(app->ctx, app->doc, buf, &opts); written = 1; } fz_catch(app->ctx) |