summaryrefslogtreecommitdiff
path: root/src/setup
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup')
-rw-r--r--src/setup/display.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/setup/display.c b/src/setup/display.c
index 99c3d8aa..1c0f8ef4 100644
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -32,6 +32,7 @@
#include "mode.h"
#include "display.h"
+#include "config.h"
extern void RestartTextscreen(void);
@@ -562,6 +563,12 @@ static void AdvancedDisplayConfig(TXT_UNCAST_ARG(widget),
&show_endoom));
}
+#ifdef HAVE_LIBPNG
+ TXT_AddWidget(window,
+ TXT_NewCheckBox("Save screenshots in PNG format",
+ &png_screenshots));
+#endif
+
TXT_SignalConnect(ar_checkbox, "changed", GenerateModesTable, modes_table);
}