Commit a9c95e08 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fselect_window): Fix bug checking new_point is in range.

parent b6dd20ed
......@@ -1729,7 +1729,7 @@ before each command.")
register int new_point = marker_position (w->pointm);
if (new_point < BEGV)
SET_PT (BEGV);
if (new_point > ZV)
else if (new_point > ZV)
SET_PT (ZV);
else
SET_PT (new_point);
......
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