1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

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

This commit is contained in:
Richard M. Stallman 1994-07-14 03:46:11 +00:00
parent b6dd20ed5a
commit a9c95e08a1

View File

@ -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);