Commit 9a6bd51a authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(BUF_COMPUTE_UNCHANGED): Use BUF_MODIFF and

BUF_OVERLAY_MODIFF instead of MODIFF and OVERLAY_MODIFF.
parent 9c07782e
......@@ -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); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment