summaryrefslogtreecommitdiff
path: root/src/scroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scroll.c')
-rw-r--r--src/scroll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scroll.c b/src/scroll.c
index cc743ea0d59..190ff4ae2a6 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -254,7 +254,7 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
current_frame->height * sizeof (int));
#ifdef HAVE_X_WINDOWS
- if (FRAME_IS_X (frame))
+ if (FRAME_X_P (frame))
{
bcopy (current_frame->nruns, temp_frame->nruns,
current_frame->height * sizeof (int));