projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d37c2d8
)
Oops. Defining max() the wrong way round was breaking rect select.
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 14 Oct 2002 09:04:23 +0000
(09:04 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 14 Oct 2002 09:04:23 +0000
(09:04 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@2042
cda61777
-01e9-0310-a592-
d414129be87e
misc.h
patch
|
blob
|
blame
|
history
diff --git
a/misc.h
b/misc.h
index
e4e70b1
..
4805474
100644
(file)
--- 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