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 b8e77b1..b2e5d0f 100644
--- a/src/ptty.c
+++ b/src/ptty.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.13 2008/02/27 01:31:38 james
+ * *** empty log message ***
+ *
* Revision 1.12 2008/02/27 01:31:14 james
* *** empty log message ***
*
@@ -140,7 +143,7 @@ ptty_write (TTY * _t, void *buf, int len)
}
TTY *
-ptty_open (char *path, char *argv[],int width)
+ptty_open (char *path, char *argv[], int width)
{
PTTY *t;
pid_t child;
@@ -153,7 +156,7 @@ ptty_open (char *path, char *argv[],int width)
client_termios (&ctermios);
winsize.ws_row = VT102_ROWS;
- winsize.ws_col = width ? width:VT102_COLS_80;
+ winsize.ws_col = width ? width : VT102_COLS_80;
child = forkpty (&fd, name, &ctermios, &winsize);