From e349ac4e73b4916c766721f22b1fbb667d25d0be Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Sun, 24 Aug 2003 05:17:58 +0000 Subject: [lcd4linux @ 2003-08-24 05:17:58 by reinelt] liblcd4linux patch from Patrick Schemitz --- Text.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Text.c') 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; -- cgit v1.2.3