chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / ptty.c
index fba32022ae909916611fd0a6659f81bf5999eb00..f8b6b9fced7c8467d1643399a257c789ff779022 100644 (file)
@@ -10,6 +10,12 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.16  2008/02/28 16:57:52  james
+ * *** empty log message ***
+ *
+ * Revision 1.15  2008/02/27 09:42:53  james
+ * *** empty log message ***
+ *
  * Revision 1.14  2008/02/27 09:42:22  james
  * *** empty log message ***
  *
@@ -146,7 +152,7 @@ ptty_write (TTY * _t, void *buf, int len)
 }
 
 TTY *
-ptty_open (char *path, char *argv[], CRT_Pos *size)
+ptty_open (char *path, char *argv[], CRT_Pos * size)
 {
   PTTY *t;
   pid_t child;
@@ -158,7 +164,7 @@ ptty_open (char *path, char *argv[], CRT_Pos *size)
 
 
   client_termios (&ctermios);
-  winsize.ws_row = size ? size->y :VT102_ROWS;
+  winsize.ws_row = size ? size->y : VT102_ROWS_24;
   winsize.ws_col = size ? size->x : VT102_COLS_80;
 
   child = forkpty (&fd, name, &ctermios, &winsize);