]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/view.c
ncurses 5.6 - patch 20070630
[ncurses.git] / test / view.c
index 05e7d4812d5d33a2edfecda3903e9e8344aadadf..c76aded9583ea4297c3fd7e9b2caddab7689c5f7 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc.              *
+ * Copyright (c) 1998-2006,2007 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -50,7 +50,7 @@
  * scroll operation worked, and the refresh() code only had to do a
  * partial repaint.
  *
- * $Id: view.c,v 1.64 2006/05/20 15:37:03 tom Exp $
+ * $Id: view.c,v 1.65 2007/06/30 16:40:04 tom Exp $
  */
 
 #include <test.priv.h>
@@ -374,7 +374,7 @@ main(int argc, char *argv[])
                    lptr++;
                else
                    break;
-           wscrl(stdscr, lptr - olptr);
+           scrl(lptr - olptr);
            break;
 
        case KEY_UP:
@@ -385,7 +385,7 @@ main(int argc, char *argv[])
                    lptr--;
                else
                    break;
-           wscrl(stdscr, lptr - olptr);
+           scrl(lptr - olptr);
            break;
 
        case 'h':