diff options
author | reinelt <> | 2003-08-24 05:17:58 +0000 |
---|---|---|
committer | reinelt <> | 2003-08-24 05:17:58 +0000 |
commit | e349ac4e73b4916c766721f22b1fbb667d25d0be (patch) | |
tree | 072381f83d0966b48fb518505e693e326d9b72ce /Text.c | |
parent | d36f45332730bf7055a51d940a6db816b29489ba (diff) | |
download | lcd4linux-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.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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; |