aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mainloop.c
diff options
context:
space:
mode:
authorjames <>2008-02-27 09:42:22 +0000
committerjames <>2008-02-27 09:42:22 +0000
commitd6c2a27d3304842fab285a4217518046b57b771b (patch)
treec2461f0ca793f2cc6704f5343b02c0d77b19b9a5 /apps/mainloop.c
parent331559e304d549308e45c84ed0ffe67b2ad42b65 (diff)
downloadsympathy-d6c2a27d3304842fab285a4217518046b57b771b.tar.gz
sympathy-d6c2a27d3304842fab285a4217518046b57b771b.tar.bz2
sympathy-d6c2a27d3304842fab285a4217518046b57b771b.zip
*** empty log message ***
Diffstat (limited to 'apps/mainloop.c')
-rw-r--r--apps/mainloop.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/mainloop.c b/apps/mainloop.c
index d546ac5..146ebdd 100644
--- a/apps/mainloop.c
+++ b/apps/mainloop.c
@@ -11,6 +11,9 @@ static char rcsid[] =
/*
* $Log$
+ * 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 ***
*
@@ -397,7 +400,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 };
@@ -408,7 +411,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 */