# HG changeset patch # User Richard M. Stallman # Date 843272634 0 # Node ID 008dd73a200557242c2bbfdc07e01c3f4b684558 # Parent 3cc73a4301814ac4bcca3b6e504cc0ad4c940b24 (fast_find_position, show_macro_face): Use new WINDOW_LEFT_MARGIN macro. diff -r 3cc73a430181 -r 008dd73a2005 src/w32term.c --- a/src/w32term.c Sat Sep 21 01:25:11 1996 +0000 +++ b/src/w32term.c Sat Sep 21 02:23:54 1996 +0000 @@ -1509,7 +1509,7 @@ 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 @@ { 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,