aboutsummaryrefslogtreecommitdiffstats
path: root/src/libsympathy.c
diff options
context:
space:
mode:
authorjames <>2008-02-07 00:44:07 +0000
committerjames <>2008-02-07 00:44:07 +0000
commit9de8271b7ff6749da455c0224c16962c85d971ec (patch)
tree0a21303853cd5d18ca842479fc8eca948fe8051a /src/libsympathy.c
parente76b1659fd1adbc4bbf6cda15ee885fcbf6c5057 (diff)
downloadsympathy-9de8271b7ff6749da455c0224c16962c85d971ec.tar.gz
sympathy-9de8271b7ff6749da455c0224c16962c85d971ec.tar.bz2
sympathy-9de8271b7ff6749da455c0224c16962c85d971ec.zip
*** empty log message ***
Diffstat (limited to 'src/libsympathy.c')
-rw-r--r--src/libsympathy.c21
1 files changed, 13 insertions, 8 deletions
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");