aboutsummaryrefslogtreecommitdiffstats
path: root/src/ptty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptty.c')
-rw-r--r--src/ptty.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ptty.c b/src/ptty.c
index fba3202..3be35f2 100644
--- a/src/ptty.c
+++ b/src/ptty.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * 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 +149,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 +161,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;
winsize.ws_col = size ? size->x : VT102_COLS_80;
child = forkpty (&fd, name, &ctermios, &winsize);