From 4f5d0325f3287f2f2e0dff1a2ec94a63b831afd7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 1 Aug 2012 18:39:21 +0300 Subject: [PATCH] Fix fallout from 2012-08-01T05:11:36Z!dmantipov@yandex.ru that introduced WVAR. src/xdisp.c (try_window_id): Use WVAR in IF_DEBUG code. --- src/ChangeLog | 4 ++++ src/xdisp.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 3640524b410..25bfa03b0b8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-08-01 Eli Zaretskii + + * xdisp.c (try_window_id): Use WVAR in IF_DEBUG code. + 2012-08-01 Glenn Morris * s/msdos.h: Remove file. diff --git a/src/xdisp.c b/src/xdisp.c index 7d7e2acc74d..3e14b06357c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -17834,8 +17834,8 @@ try_window_id (struct window *w) else abort (); - IF_DEBUG (debug_end_pos = XFASTINT (w->window_end_pos); - debug_end_vpos = XFASTINT (w->window_end_vpos)); + IF_DEBUG (debug_end_pos = XFASTINT (WVAR (w, window_end_pos)); + debug_end_vpos = XFASTINT (WVAR (w, window_end_vpos))); /* Record that display has not been completed. */ WVAR (w, window_end_valid) = Qnil; -- 2.39.2