aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorltoetsch <>2001-03-09 13:08:11 +0000
committerltoetsch <>2001-03-09 13:08:11 +0000
commitedfd929b78ada012e71b2dee78b9ab96c3fdea1e (patch)
tree5e9599a44db6a1135a56e7b2a489c74fd21edfa8 /debug.c
parent4a893211fd9907615d67d462ec183f7ca5f1500b (diff)
downloadlcd4linux-edfd929b78ada012e71b2dee78b9ab96c3fdea1e.tar.gz
[lcd4linux @ 2001-03-09 13:08:11 by ltoetsch]
Added Text driver
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 56f3684..e5f99eb 100644
--- a/debug.c
+++ b/debug.c
@@ -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;
}