From 7ffb2b52fdfb1347695c8ce597fd31eb00cc449d Mon Sep 17 00:00:00 2001 From: simon Date: Mon, 14 Oct 2002 09:04:23 +0000 Subject: [PATCH] Oops. Defining max() the wrong way round was breaking rect select. git-svn-id: svn://svn.tartarus.org/sgt/putty@2042 cda61777-01e9-0310-a592-d414129be87e --- 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 -- 2.11.0