From 9a6bd51ae7914ae7fc631ff31ba478a0d6d71a81 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 17 Sep 2001 16:07:51 +0000 Subject: [PATCH] (BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and BUF_OVERLAY_MODIFF instead of MODIFF and OVERLAY_MODIFF. --- src/buffer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/buffer.h b/src/buffer.h index 6089231811d..c90b12fb212 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -181,8 +181,9 @@ Boston, MA 02111-1307, USA. */ #define BUF_COMPUTE_UNCHANGED(buf, start, end) \ do \ { \ - if (BUF_UNCHANGED_MODIFIED (buf) == MODIFF \ - && BUF_OVERLAY_UNCHANGED_MODIFIED (buf) == OVERLAY_MODIFF) \ + if (BUF_UNCHANGED_MODIFIED (buf) == BUF_MODIFF (buf) \ + && (BUF_OVERLAY_UNCHANGED_MODIFIED (buf) \ + == BUF_OVERLAY_MODIFF (buf))) \ { \ BUF_BEG_UNCHANGED (buf) = (start) - BUF_BEG (buf); \ BUF_END_UNCHANGED (buf) = BUF_Z (buf) - (end); \ -- 2.39.2