aboutsummaryrefslogtreecommitdiffstats
path: root/Text.c
diff options
context:
space:
mode:
authorreinelt <>2003-08-24 05:17:58 +0000
committerreinelt <>2003-08-24 05:17:58 +0000
commite349ac4e73b4916c766721f22b1fbb667d25d0be (patch)
tree072381f83d0966b48fb518505e693e326d9b72ce /Text.c
parentd36f45332730bf7055a51d940a6db816b29489ba (diff)
downloadlcd4linux-e349ac4e73b4916c766721f22b1fbb667d25d0be.tar.gz
[lcd4linux @ 2003-08-24 05:17:58 by reinelt]
liblcd4linux patch from Patrick Schemitz
Diffstat (limited to 'Text.c')
-rw-r--r--Text.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/Text.c b/Text.c
index abd6633..8b24266 100644
--- a/Text.c
+++ b/Text.c
@@ -1,4 +1,4 @@
-/* $Id: Text.c,v 1.9 2003/07/24 04:48:09 reinelt Exp $
+/* $Id: Text.c,v 1.10 2003/08/24 05:17:58 reinelt Exp $
*
* pure ncurses based text driver
*
@@ -20,6 +20,9 @@
*
*
* $Log: Text.c,v $
+ * Revision 1.10 2003/08/24 05:17:58 reinelt
+ * liblcd4linux patch from Patrick Schemitz
+ *
* Revision 1.9 2003/07/24 04:48:09 reinelt
* 'soft clear' needed for virtual rows
*
@@ -93,7 +96,7 @@ int main(int argc, char *argv[])
#include "display.h"
#include "bar.h"
-extern int foreground;
+extern int running_foreground;
static LCD Lcd;
static WINDOW *w, *err_win;
@@ -121,7 +124,7 @@ int Text_init (LCD *Self)
int cols=-1, rows=-1;
int scr_cols, scr_rows;
char *s;
- if (!foreground) {
+ if (!running_foreground) {
error("Text: you want me to display on /dev/null: sorry, I can't");
error("Text: Maybe you want me to run in foreground? Try '-F'");
return -1;