summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-21 02:23:54 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-21 02:23:54 +0000
commitffcf7c39d073b6e85157774daf7ee80ca19c7d49 (patch)
treeff1c29bd54f8ac369cf96de37b95ac889f0b68b8
parent1931f80a488479f4678f04afa74233bc1077c6eb (diff)
downloademacs-ffcf7c39d073b6e85157774daf7ee80ca19c7d49.tar.gz
(fast_find_position, show_macro_face): Use new WINDOW_LEFT_MARGIN macro.
-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)
FRAME_PTR f = XFRAME (WINDOW_FRAME (w));
int i;
int row = 0;
- int left = w->left;
+ int left = WINDOW_LEFT_MARGIN (w);
int top = w->top;
int height = XFASTINT (w->height) - ! MINI_WINDOW_P (w);
int width = window_internal_width (w);
@@ -1594,10 +1594,10 @@ show_mouse_face (dpyinfo, hl)
{
int column = (i == FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_beg_row
? FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_beg_col
- : w->left);
+ : WINDOW_LEFT_MARGIN (w));
int endcolumn = (i == FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_end_row
? FRAME_WIN32_DISPLAY_INFO (f)->mouse_face_end_col
- : w->left + width);
+ : WINDOW_LEFT_MARGIN (w) + width);
endcolumn = min (endcolumn, FRAME_CURRENT_GLYPHS (f)->used[i]);
/* If the cursor's in the text we are about to rewrite,