summaryrefslogtreecommitdiff
path: root/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'amiga')
-rwxr-xr-xamiga/gui_options.c4
-rw-r--r--amiga/save_pdf.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/amiga/gui_options.c b/amiga/gui_options.c
index 1b1048c05..bf08d2087 100755
--- a/amiga/gui_options.c
+++ b/amiga/gui_options.c
@@ -1147,6 +1147,7 @@ void ami_gui_opts_open(void)
/*
** Export
*/
+#ifdef WITH_PDF_EXPORT
PAGE_Add, LayoutObject,
LAYOUT_AddChild,VGroupObject,
LAYOUT_AddChild, HGroupObject,
@@ -1292,11 +1293,12 @@ void ami_gui_opts_open(void)
GA_Text, gadlab[GID_OPTS_EXPORT_PASSWORD],
GA_Selected, option_enable_PDF_password,
CheckBoxEnd,
- LayoutEnd, // advanced
+ LayoutEnd, // export
CHILD_WeightedHeight, 0,
LayoutEnd, // page vgroup
CHILD_WeightedHeight, 0,
PageEnd, // page object
+#endif
End, // pagegroup
ClickTabEnd,
LAYOUT_AddChild, HGroupObject,
diff --git a/amiga/save_pdf.c b/amiga/save_pdf.c
index 1be2c56d0..c1a6537a8 100644
--- a/amiga/save_pdf.c
+++ b/amiga/save_pdf.c
@@ -43,8 +43,8 @@
bool save_as_pdf(struct hlcache_handle *c, const char *path)
{
struct print_settings *psettings;
-
- psettings = print_make_settings(PRINT_DEFAULT, path, &haru_nsfont);
+
+ psettings = print_make_settings(PRINT_OPTIONS, path, &haru_nsfont);
if (psettings == NULL)
return false;