1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Oops. Defining max() the wrong way round was breaking rect select.

[originally from svn r2042]
This commit is contained in:
Simon Tatham 2002-10-14 09:04:23 +00:00
parent 3c3fd86691
commit 9904e114c1

2
misc.h
View File

@ -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