# HG changeset patch # User Richard M. Stallman # Date 774157571 0 # Node ID b743577d12c29499425b2da9efe326a1569f09ed # Parent 15d4c2bd29e6454ef949ea086d1b9da24f668a69 (Fselect_window): Fix bug checking new_point is in range. diff -r 15d4c2bd29e6 -r b743577d12c2 src/window.c --- a/src/window.c Thu Jul 14 03:44:29 1994 +0000 +++ b/src/window.c Thu Jul 14 03:46:11 1994 +0000 @@ -1729,7 +1729,7 @@ 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);