X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flibsympathy.c;h=5ffd04d01127633467c3ad43b4aa5c1c1d196301;hb=0daf8487b7ce04368a0a8e33231a547161f444e7;hp=8f28c17aa2e73c3e11ae257bb04bb02176de8027;hpb=455df606ac8985c493fc52bcc6d09e0fd27d1cdc;p=sympathy.git diff --git a/src/libsympathy.c b/src/libsympathy.c index 8f28c17..5ffd04d 100644 --- a/src/libsympathy.c +++ b/src/libsympathy.c @@ -11,6 +11,9 @@ static char rcsid[] = /* * $Log$ + * Revision 1.8 2008/02/07 00:43:27 james + * *** empty log message *** + * * Revision 1.7 2008/02/07 00:39:13 james * *** empty log message *** * @@ -85,8 +88,8 @@ testy (void) ansi_reset (&a); - t=tty_new_test(); - v=vt102_new(t); + t = tty_new_test (); + v = vt102_new (t); FD_ZERO (&rfd); for (;;) @@ -102,12 +105,14 @@ testy (void) { } #endif - if (ansi_dispatch(&a,v)) - break; + if (ansi_dispatch (&a, v)) + break; - if (FD_ISSET (t->fd, &rfd)) { - if (vt102_dispatch (v)) break; - } + if (FD_ISSET (t->fd, &rfd)) + { + if (vt102_dispatch (v)) + break; + } if (had_winch) { @@ -116,7 +121,7 @@ testy (void) ansi_reset (&a); ansi_draw (&a, &v->crt); } - ansi_draw (&a, &v->crt); + ansi_draw (&a, &v->crt); } tcsetattr (0, TCSANOW, &old); printf ("QUAT\n");