aboutsummaryrefslogtreecommitdiff
path: root/lib/libcurses/PSD.doc/ex1.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcurses/PSD.doc/ex1.c')
-rw-r--r--lib/libcurses/PSD.doc/ex1.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcurses/PSD.doc/ex1.c b/lib/libcurses/PSD.doc/ex1.c
index 02ed9b936bdd..97d8432c8bbf 100644
--- a/lib/libcurses/PSD.doc/ex1.c
+++ b/lib/libcurses/PSD.doc/ex1.c
@@ -37,7 +37,7 @@
#include <signal.h>
-#define YSIZE 10
+#define YSIZE 10
#define XSIZE 20
int quit();
@@ -55,7 +55,7 @@ main()
crmode(); /* We want cbreak mode */
noecho(); /* We want to have control of chars */
delwin(stdscr); /* Create our own stdscr */
- stdscr = newwin(YSIZE, XSIZE, 10, 35);
+ stdscr = newwin(YSIZE, XSIZE, 10, 35);
flushok(stdscr, TRUE); /* Enable flushing of stdout */
scrollok(stdscr, TRUE); /* Enable scrolling */
erase(); /* Initially, clear the screen */
@@ -97,6 +97,6 @@ quit()
exit(0);
}
-
-
-
+
+
+