From: YAMAMOTO Mitsuharu Date: Thu, 8 Apr 2010 00:43:57 +0000 (+0900) Subject: frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis. X-Git-Tag: emacs-pretest-23.1.96~37 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=16009a0ec314b71fda9f41fb0d79b588d784c0f9;p=emacs.git frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3e5d5c3d587..b8b04b129ea 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-04-08 YAMAMOTO Mitsuharu + + * frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis. + 2010-04-07 Jan Djärv * frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use diff --git a/src/frame.h b/src/frame.h index 36b0b6b069c..887d47eff21 100644 --- a/src/frame.h +++ b/src/frame.h @@ -980,7 +980,7 @@ extern Lisp_Object selected_frame; 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) \