Mercurial > emacs
changeset 3195:1071243e14c7
(PIXEL_TO_CHAR_COL, PIXEL_TO_CHAR_ROW): Fix mismatch in arg names.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 28 May 1993 04:32:28 +0000 |
parents | 5ffb8017f71c |
children | c3470c4abe5e |
files | src/xterm.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.h Fri May 28 03:33:15 1993 +0000 +++ b/src/xterm.h Fri May 28 04:32:28 1993 +0000 @@ -526,10 +526,10 @@ /* Return the row/column (zero-based) of the character cell containing the pixel on FRAME at ROW/COL. */ -#define PIXEL_TO_CHAR_ROW(frame, row) \ +#define PIXEL_TO_CHAR_ROW(f, row) \ (((row) - (f)->display.x->internal_border_width) \ / FONT_HEIGHT ((f)->display.x->font)) -#define PIXEL_TO_CHAR_COL(frame, col) \ +#define PIXEL_TO_CHAR_COL(f, col) \ (((col) - (f)->display.x->internal_border_width) \ / FONT_WIDTH ((f)->display.x->font))