mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-16 18:47:32 -05:00
Oops. Defining max() the wrong way round was breaking rect select.
[originally from svn r2042]
This commit is contained in:
2
misc.h
2
misc.h
@ -62,7 +62,7 @@ void debug_memdump(void *buf, int len, int L);
|
|||||||
#define min(x,y) ( (x) < (y) ? (x) : (y) )
|
#define min(x,y) ( (x) < (y) ? (x) : (y) )
|
||||||
#endif
|
#endif
|
||||||
#ifndef max
|
#ifndef max
|
||||||
#define max(x,y) ( (x) < (y) ? (x) : (y) )
|
#define max(x,y) ( (x) > (y) ? (x) : (y) )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user