[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99725: frame.h (FRAME_LINE_TO_PIX
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99725: frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis. |
Date: |
Thu, 08 Apr 2010 09:43:57 +0900 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99725
committer: YAMAMOTO Mitsuharu <address@hidden>
branch nick: emacs-23
timestamp: Thu 2010-04-08 09:43:57 +0900
message:
frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis.
modified:
src/ChangeLog
src/frame.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-04-07 16:34:31 +0000
+++ b/src/ChangeLog 2010-04-08 00:43:57 +0000
@@ -1,3 +1,7 @@
+2010-04-08 YAMAMOTO Mitsuharu <address@hidden>
+
+ * frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis.
+
2010-04-07 Jan Djärv <address@hidden>
* frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use
=== modified file 'src/frame.h'
--- a/src/frame.h 2010-04-07 16:34:31 +0000
+++ b/src/frame.h 2010-04-08 00:43:57 +0000
@@ -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) \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99725: frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis.,
YAMAMOTO Mitsuharu <=