]> code.delx.au - gnu-emacs/blobdiff - src/scroll.c
(direct_output_for_insert): Set last_point_x properly.
[gnu-emacs] / src / scroll.c
index 75de9ebba8925d3a1f04f5984711c8c82e728773..cbab971fd354d8927df71fa660294f1bdd78fef3 100644 (file)
@@ -15,7 +15,8 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU Emacs; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
 
 #include <config.h>
@@ -272,8 +273,8 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
   bcopy (current_frame->bufp, temp_frame->bufp,
         current_frame->height * sizeof (int));
 
-#ifdef HAVE_X_WINDOWS
-  if (FRAME_X_P (frame))
+#ifdef HAVE_WINDOW_SYSTEM
+  if (FRAME_WINDOW_P (frame))
     {
       bcopy (current_frame->top_left_x, temp_frame->top_left_x,
             current_frame->height * sizeof (short));
@@ -678,8 +679,8 @@ do_direct_scrolling (frame, matrix, window_size, unchanged_at_top)
   bcopy (current_frame->bufp, temp_frame->bufp,
         current_frame->height * sizeof (int));
 
-#ifdef HAVE_X_WINDOWS
-  if (FRAME_X_P (frame))
+#ifdef HAVE_WINDOW_SYSTEM
+  if (FRAME_WINDOW_P (frame))
     {
       bcopy (current_frame->top_left_x, temp_frame->top_left_x,
             current_frame->height * sizeof (short));