2001-10-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+ * window.c: Don't define max.
+ (coordinates_in_window): Remove unused variable `uy'.
+
* widget.c: Don't define max.
* process.c: Don't define max.
#include "macterm.h"
#endif
-#ifndef max
-#define max(a, b) ((a) < (b) ? (b) : (a))
-#endif
-
/* Values returned from coordinates_in_window. */
enum window_part
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.