chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / tty.c
index 6090af2ea15972d9f9f32d263ed2112644629346..f27afea2bff68c1990956a3dc80494d0d151fc81 100644 (file)
--- a/src/tty.c
+++ b/src/tty.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.18  2008/02/28 16:37:16  james
+ * *** empty log message ***
+ *
  * Revision 1.17  2008/02/28 15:37:06  james
  * *** empty log message ***
  *
@@ -324,12 +327,6 @@ tty_set_flow (TTY * t, int flow)
 
 }
 
-void tty_winch(TTY *y,CRT_Pos p)
-{
-//FIXME:
-
-}
-
 void
 tty_hangup (TTY * t)
 {
@@ -351,7 +348,7 @@ void tty_winch(TTY * t,CRT_Pos size)
   sz.ws_col=size.x;
   sz.ws_row=size.y;
 
-  ioctl (t->wfd, TIOCGWINSZ, &sz);
+  ioctl (t->wfd, TIOCSWINSZ, &sz);
 }