Mercurial > emacs
changeset 40235:8173ac4f5804
Don't define max.
(coordinates_in_window): Remove unused variable `uy'.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Wed, 24 Oct 2001 06:35:59 +0000 |
parents | 36ae7fa25db9 |
children | cfec9610f2fe |
files | src/window.c |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/window.c Wed Oct 24 06:32:53 2001 +0000 +++ b/src/window.c Wed Oct 24 06:35:59 2001 +0000 @@ -48,10 +48,6 @@ #include "macterm.h" #endif -#ifndef max -#define max(a, b) ((a) < (b) ? (b) : (a)) -#endif - /* Values returned from coordinates_in_window. */ enum window_part @@ -517,7 +513,7 @@ int left_x, right_x, top_y, bottom_y; int flags_area_width = FRAME_LEFT_FLAGS_AREA_WIDTH (f); enum window_part part; - int ux = CANON_X_UNIT (f), uy = CANON_Y_UNIT (f); + int ux = CANON_X_UNIT (f); int x0 = XFASTINT (w->left) * ux; int x1 = x0 + XFASTINT (w->width) * ux; /* The width of the area where the vertical line can be dragged.