Mercurial > emacs
changeset 107928:d7a48f464405
frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Thu, 08 Apr 2010 09:43:57 +0900 |
parents | d1704f1bb946 |
children | b8bbaa0c915f |
files | src/ChangeLog src/frame.h |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Apr 07 18:34:31 2010 +0200 +++ b/src/ChangeLog Thu Apr 08 09:43:57 2010 +0900 @@ -1,3 +1,7 @@ +2010-04-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> + + * frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis. + 2010-04-07 Jan Djärv <jan.h.d@swipnet.se> * frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use
--- a/src/frame.h Wed Apr 07 18:34:31 2010 +0200 +++ b/src/frame.h Thu Apr 08 09:43:57 2010 +0900 @@ -980,7 +980,7 @@ at ROW/COL. */ #define FRAME_LINE_TO_PIXEL_Y(f, row) \ - ((row < FRAME_TOP_MARGIN (f) ? 0 : FRAME_INTERNAL_BORDER_WIDTH (f)) \ + (((row) < FRAME_TOP_MARGIN (f) ? 0 : FRAME_INTERNAL_BORDER_WIDTH (f)) \ + (row) * FRAME_LINE_HEIGHT (f)) #define FRAME_COL_TO_PIXEL_X(f, col) \