projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc45820
)
Use min/max from sxe-utils
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Sun, 6 Dec 2015 21:10:33 +0000
(16:10 -0500)
committer
Nelson Ferreira
<nelson.ferreira@ieee.org>
Sun, 6 Dec 2015 21:10:33 +0000
(16:10 -0500)
* src/ui/lwlib/xlwmenu.c: Include sxe-utils and remove the current
max macro.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/ui/lwlib/xlwmenu.c
patch
|
blob
|
history
diff --git
a/src/ui/lwlib/xlwmenu.c
b/src/ui/lwlib/xlwmenu.c
index
dae3ca5
..
8e61905
100644
(file)
--- a/
src/ui/lwlib/xlwmenu.c
+++ b/
src/ui/lwlib/xlwmenu.c
@@
-47,17
+47,12
@@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "lwlib-internal.h"
#include <sxe-utils.h>
+#include <sxe-memory.h>
#ifdef USE_DEBUG_MALLOC
#include <dmalloc.h>
#endif
-
-/* simple, naive integer maximum */
-#ifndef max
-#define max(a,b) ((a)>(b)?(a):(b))
-#endif
-
static char
xlwMenuTranslations[] = "<BtnDown>: start()\n\
<BtnMotion>: drag()\n\