mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Oops. Defining max() the wrong way round was breaking rect select.
[originally from svn r2042]
This commit is contained in:
parent
3c3fd86691
commit
9904e114c1
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
|
||||||
|
Loading…
Reference in New Issue
Block a user