aboutsummaryrefslogtreecommitdiffstats
path: root/src/ptty.c
diff options
context:
space:
mode:
authorjames <>2008-02-27 09:43:27 +0000
committerjames <>2008-02-27 09:43:27 +0000
commit5fd44c11631c66cff497fadd9bbc81b77c7509f7 (patch)
tree8af379c5d2c769d9a2c20f0d372e9059e1a44192 /src/ptty.c
parentd6c2a27d3304842fab285a4217518046b57b771b (diff)
downloadsympathy-5fd44c11631c66cff497fadd9bbc81b77c7509f7.tar.gz
sympathy-5fd44c11631c66cff497fadd9bbc81b77c7509f7.tar.bz2
sympathy-5fd44c11631c66cff497fadd9bbc81b77c7509f7.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 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);