From 793879809e65ae4f6187d21eccf41820b9d27d2c Mon Sep 17 00:00:00 2001 From: ladyada Date: Sat, 19 Dec 2015 23:01:41 -0500 Subject: [PATCH] parenz --- Adafruit_GFX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adafruit_GFX.cpp b/Adafruit_GFX.cpp index 72e4d4b..3af3a84 100644 --- a/Adafruit_GFX.cpp +++ b/Adafruit_GFX.cpp @@ -42,7 +42,7 @@ POSSIBILITY OF SUCH DAMAGE. #endif #ifndef min - #define min(a,b) ((a < b) ? a : b) +#define min(a,b) (((a) < (b)) ? (a) : (b)) #endif Adafruit_GFX::Adafruit_GFX(int16_t w, int16_t h):