chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / ansi.c
index 8d4d640e9b07460d4c76da33f62c70001b96cec2..905866b39643485dac74cbbd36fe96b35de8a7bc 100644 (file)
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.26  2008/02/20 20:16:07  james
+ * *** empty log message ***
+ *
  * Revision 1.25  2008/02/20 19:44:37  james
  * @@
  *
@@ -866,7 +869,7 @@ static void ansi_free(ANSI *a)
 
 }
 
-ANSI *ansi_new_from_terminal(ANSI *a,TTY *t)
+ANSI *ansi_new_from_terminal(TTY *t)
 {
 ANSI *ret;
 
@@ -879,5 +882,7 @@ ret->update=ansi_update;
 ret->reset=ansi_reset;
 ret->terminal_reset=ansi_terminal_reset;
 ret->close=ansi_free;
+ret->dispatch=ansi_dispatch;
 
+return ret;
 }