aboutsummaryrefslogtreecommitdiffstats
path: root/src/ptty.c
diff options
context:
space:
mode:
authorjames <>2008-02-27 01:32:41 +0000
committerjames <>2008-02-27 01:32:41 +0000
commitb9ff400d3331ccd3be0aad49cbdadf2cb23a68e2 (patch)
tree0f9f014112617202e1cfc13549eb7e01021aa5e5 /src/ptty.c
parent4add819b42c292ee2a6fc4aeda782a447b1bcf27 (diff)
downloadsympathy-b9ff400d3331ccd3be0aad49cbdadf2cb23a68e2.tar.gz
sympathy-b9ff400d3331ccd3be0aad49cbdadf2cb23a68e2.tar.bz2
sympathy-b9ff400d3331ccd3be0aad49cbdadf2cb23a68e2.zip
*** empty log message ***
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);