Add a missing brace, patch by Hideki IWAMOTO

This commit is contained in:
Glenn L McGrath 2004-09-15 03:24:32 +00:00
parent f15dfc5570
commit ca1c1afadc

View File

@ -980,6 +980,7 @@ set_window_size(int rows, int cols, int fd)
if ((ioctl(fd, TIOCSWINSZ, (char *) &win) != 0) if ((ioctl(fd, TIOCSWINSZ, (char *) &win) != 0)
|| (ioctl(fd, TIOCSSIZE, (char *) &ttysz) != 0)) { || (ioctl(fd, TIOCSSIZE, (char *) &ttysz) != 0)) {
perror_on_device("%s"); perror_on_device("%s");
}
return; return;
} }
# endif # endif