chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / libsympathy.c
index 6dced0d9306777f69aa6907d1781fe5b68617382..ac2f62112aaeee283722bfc6a77eaf8956c86e01 100644 (file)
@@ -11,6 +11,9 @@ static char rcsid[] =
 
 /*
  * $Log$
+ * Revision 1.10  2008/02/07 11:32:41  james
+ * *** empty log message ***
+ *
  * Revision 1.9  2008/02/07 11:11:14  staffcvs
  * *** empty log message ***
  *
@@ -93,7 +96,7 @@ testy (void)
 
 
   t = tty_new_test ();
-  v = vt102_new (t);
+  v = vt102_new ();
 
   FD_ZERO (&rfd);
   for (;;)
@@ -110,7 +113,7 @@ testy (void)
         }
 #endif
        
-      switch (ansi_dispatch (&a, v)) {
+      switch (ansi_dispatch (&a, v,t)) {
        case -1:
         break;
        case 1:
@@ -122,7 +125,7 @@ testy (void)
 
       if (FD_ISSET (t->fd, &rfd))
         {
-          if (vt102_dispatch (v))
+          if (vt102_dispatch (v,t))
             break;
         }