diff options
author | ltoetsch <> | 2001-03-09 13:08:11 +0000 |
---|---|---|
committer | ltoetsch <> | 2001-03-09 13:08:11 +0000 |
commit | edfd929b78ada012e71b2dee78b9ab96c3fdea1e (patch) | |
tree | 5e9599a44db6a1135a56e7b2a489c74fd21edfa8 /debug.c | |
parent | 4a893211fd9907615d67d462ec183f7ca5f1500b (diff) | |
download | lcd4linux-edfd929b78ada012e71b2dee78b9ab96c3fdea1e.tar.gz |
[lcd4linux @ 2001-03-09 13:08:11 by ltoetsch]
Added Text driver
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: debug.c,v 1.1 2000/11/28 20:20:38 reinelt Exp $ +/* $Id: debug.c,v 1.2 2001/03/09 13:08:11 ltoetsch Exp $ * * debug() and error() functions * @@ -20,6 +20,9 @@ * * * $Log: debug.c,v $ + * Revision 1.2 2001/03/09 13:08:11 ltoetsch + * Added Text driver + * * Revision 1.1 2000/11/28 20:20:38 reinelt * * added debug.c @@ -62,6 +65,10 @@ void message (int level, const char *format, ...) va_end(ap); if (foreground) { +#ifdef WITH_Text + extern int curs_err(char *); + if (!curs_err(buffer)) +#endif fprintf (level?stdout:stderr, "%s\n", buffer); return; } |