1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00

(PIXEL_TO_CHAR_COL, PIXEL_TO_CHAR_ROW): Fix mismatch in arg names.

This commit is contained in:
Richard M. Stallman 1993-05-28 04:32:28 +00:00
parent 4fa84f6b74
commit cecfe612ec

View file

@ -526,10 +526,10 @@ struct scroll_bar {
/* 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))