diff options
Diffstat (limited to 'lib/libncurses/lib_screen.c')
-rw-r--r-- | lib/libncurses/lib_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libncurses/lib_screen.c b/lib/libncurses/lib_screen.c index 0c0ab8a..382411b 100644 --- a/lib/libncurses/lib_screen.c +++ b/lib/libncurses/lib_screen.c @@ -10,7 +10,7 @@ int putwin(WINDOW *win, char *file) int fd, i; fd = open(file, O_WRONLY); - if (fd < -1) + if (fd < -1) return ERR; for (i = 0; i < lines; i++) write(fd, win->_line[i], sizeof(chtype)*columns); |