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

(try_window_id): Compute BEG_UNCHANGED and END_UNCHANGED

if MODIFF > 1.
parent 27657687
......@@ -10020,7 +10020,7 @@ try_window_id (w)
only if buffer has really changed. The reason is that the gap is
initially at Z for freshly visited files. The code below would
set end_unchanged to 0 in that case. */
if (MODIFF > SAVE_MODIFF)
if (MODIFF > 1)
{
if (GPT - BEG < BEG_UNCHANGED)
BEG_UNCHANGED = GPT - BEG;
......
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