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:
parent
4fa84f6b74
commit
cecfe612ec
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue