aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-21 02:23:54 +0000
committerRichard M. Stallman1996-09-21 02:23:54 +0000
commit03218728b5ed5f2171008f4f972bb2956301b5b4 (patch)
treee2c80e71317314ee1e5620183eba920818de306d /src
parentd7c64de6bfd9af5bf21e7e10bcb3feaa10a45f11 (diff)
downloademacs-03218728b5ed5f2171008f4f972bb2956301b5b4.tar.gz
emacs-03218728b5ed5f2171008f4f972bb2956301b5b4.zip
(fast_find_position, show_macro_face): Use new WINDOW_LEFT_MARGIN macro.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c
index f76291b7205..43c97f479c1 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1509,7 +1509,7 @@ fast_find_position (window, pos, columnp, rowp)
1509 FRAME_PTR f = XFRAME (WINDOW_FRAME (w)); 1509 FRAME_PTR f = XFRAME (WINDOW_FRAME (w));
1510 int i; 1510 int i;
1511 int row = 0; 1511 int row = 0;
1512 int left = w->left; 1512 int left = WINDOW_LEFT_MARGIN (w);
1513 int top = w->top; 1513 int top = w->top;
1514 int height = XFASTINT (w->height) - ! MINI_WINDOW_P (w); 1514 int height = XFASTINT (w->height) - ! MINI_WINDOW_P (w);
1515 int width = window_internal_width (w); 1515 int width = window_internal_width (w);
@@ -1594,10 +1594,10 @@ show_mouse_face (dpyinfo, hl)
1594 { 1594 {
1595 int column = (i == FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_beg_row 1595 int column = (i == FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_beg_row
1596 ? FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_beg_col 1596 ? FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_beg_col
1597 : w->left); 1597 : WINDOW_LEFT_MARGIN (w));
1598 int endcolumn = (i == FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_end_row 1598 int endcolumn = (i == FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_end_row
1599 ? FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_end_col 1599 ? FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_end_col
1600 : w->left + width); 1600 : WINDOW_LEFT_MARGIN (w) + width);
1601 endcolumn = min (endcolumn, FRAME_CURRENT_GLYPHS (f)->used[i]); 1601 endcolumn = min (endcolumn, FRAME_CURRENT_GLYPHS (f)->used[i]);
1602 1602
1603 /* If the cursor's in the text we are about to rewrite, 1603 /* If the cursor's in the text we are about to rewrite,