chiark / gitweb /
*** empty log message ***
[sympathy.git] / apps / mainloop.c
index 07290e1a4125207adad489a9caf08df37ba2aed0..e9c299cd4d8d620fd3d2ed20af2d2be1cf92e88a 100644 (file)
@@ -11,6 +11,15 @@ static char rcsid[] =
 
 /*
  * $Log$
+ * Revision 1.17  2008/02/27 09:42:53  james
+ * *** empty log message ***
+ *
+ * Revision 1.16  2008/02/27 09:42:21  james
+ * *** empty log message ***
+ *
+ * Revision 1.15  2008/02/27 01:31:38  james
+ * *** empty log message ***
+ *
  * Revision 1.14  2008/02/27 01:31:14  james
  * *** empty log message ***
  *
@@ -394,7 +403,7 @@ msg_from_server (ANSI * a, IPC_Msg * m, Context * c)
 
 void
 mainloop (TTY * tty, Socket * server_socket, Socket * client_socket,
-          ANSI * ansi, Log * log, int nhistory,int width)
+          ANSI * ansi, Log * log, int nhistory, CRT_Pos * size)
 {
   fd_set rfds, wfds;
   Context c = { 0 };
@@ -405,7 +414,7 @@ mainloop (TTY * tty, Socket * server_socket, Socket * client_socket,
   c.tp = tty_parser_new ();
   c.u = utf8_new ();
 
-  c.v = vt102_new (width);
+  c.v = vt102_new (size);
   c.h = history_new (nhistory);
   c.l = log;
   /* are we being fed by a tty or a socket */