From 9904e114c1a7b70fe4aea74e0dbc33bd68c05664 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 14 Oct 2002 09:04:23 +0000 Subject: [PATCH] Oops. Defining max() the wrong way round was breaking rect select. [originally from svn r2042] --- misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.h b/misc.h index e4e70b1f..48054745 100644 --- a/misc.h +++ b/misc.h @@ -62,7 +62,7 @@ void debug_memdump(void *buf, int len, int L); #define min(x,y) ( (x) < (y) ? (x) : (y) ) #endif #ifndef max -#define max(x,y) ( (x) < (y) ? (x) : (y) ) +#define max(x,y) ( (x) > (y) ? (x) : (y) ) #endif #endif