From 9b54d6bb9c49fa4127ec6b62f21a44c20ca912aa Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 8 Jun 2013 17:10:30 +0100 Subject: Remove PDF menu item if built without PDF export --- amiga/menu.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'amiga/menu.h') diff --git a/amiga/menu.h b/amiga/menu.h index 53c2db5f3..e96fcf0ee 100755 --- a/amiga/menu.h +++ b/amiga/menu.h @@ -41,8 +41,10 @@ enum { M_SAVESRC, M_SAVETXT, M_SAVECOMP, - M_SAVEPDF, M_SAVEIFF, +#ifdef WITH_PDF_EXPORT + M_SAVEPDF, +#endif M_BAR_P2, M_CLOSETAB, M_CLOSEWIN, @@ -108,8 +110,8 @@ enum { /* The Intuition menu numbers of some menus we might need to modify */ #define AMI_MENU_SAVEAS_TEXT FULLMENUNUM(0,4,1) #define AMI_MENU_SAVEAS_COMPLETE FULLMENUNUM(0,4,2) -#define AMI_MENU_SAVEAS_PDF FULLMENUNUM(0,4,3) -#define AMI_MENU_SAVEAS_IFF FULLMENUNUM(0,4,4) +#define AMI_MENU_SAVEAS_IFF FULLMENUNUM(0,4,3) +#define AMI_MENU_SAVEAS_PDF FULLMENUNUM(0,4,4) #define AMI_MENU_CLOSETAB FULLMENUNUM(0,6,0) #define AMI_MENU_CUT FULLMENUNUM(1,0,0) #define AMI_MENU_COPY FULLMENUNUM(1,1,0) -- cgit v1.2.3