aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/imagemagick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imagemagick.c b/src/imagemagick.c
index 4fbb8cb..e327685 100644
--- a/src/imagemagick.c
+++ b/src/imagemagick.c
@@ -34,7 +34,7 @@ struct image *imagemagick_open(FILE *f){
asprintf(&argv[4], "ppm:fd:%i", tmpfd[1]);
argv[5] = NULL;
-#ifndef NDEBUG
+#ifdef NDEBUG
/* STFU OMFG */
freopen("/dev/null", "w", stdout);
freopen("/dev/null", "w", stderr);