aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/color.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/color.c b/src/color.c
index 40d43d5..5208766 100644
--- a/src/color.c
+++ b/src/color.c
@@ -1,8 +1,8 @@
#include "mandel.h"
#include "config.h"
-#define MAX(x, y) (x > y ? x : y)
-#define MIN(x, y) (x < y ? x : y)
+#define MAX(x, y) ((x) > (y) ? (x) : (y))
+#define MIN(x, y) ((x) < (y) ? (x) : (y))
static Color color_hsl_to_rgb(ColorHSL color_hsl);
static Color *st_hsl_rainbow(int count);