diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2001-02-11 23:34:07 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2001-02-11 23:34:07 +0000 |
commit | 4af4f9434259a369bdfaafbe75aa41163f0296c4 (patch) | |
tree | 4b4df9fd5d5bafbdf82fa72d9e15251b9bdb9722 | |
parent | fa39c49d89bfd41fed4641e6fb31035d1beef6e3 (diff) | |
download | lcd4linux-4af4f9434259a369bdfaafbe75aa41163f0296c4.tar.gz |
[lcd4linux @ 2001-02-11 23:34:07 by reinelt]
fixed a small bug where the throughput of an offline ISDN connection is displayed as '----', but the
online value is 5 chars long. corrected to ' ----'.
thanks to Carsten Nau <info@cnau.de>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@76 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r-- | TODO | 9 | ||||
-rw-r--r-- | processor.c | 11 |
2 files changed, 17 insertions, 3 deletions
@@ -26,4 +26,11 @@ numbers can be used for bars, too 2000-12-03 Ghassan Matar <gmatar@hexapods.com> accept data from external sources (fifo?) -$Id: TODO,v 1.3 2000/12/07 20:47:54 reinelt Exp $ +2001-02-11 Carsten Nau <info@cnau.de> +connect a LED to a spare pin of the parallel port and show if ISDN +is online + +2001-01-27 Axel Ehnert <axel@ehnert.net> +- display numer of emails in a mailbox +- display seti@home values + diff --git a/processor.c b/processor.c index 9a2e9ab..752c48f 100644 --- a/processor.c +++ b/processor.c @@ -1,4 +1,4 @@ -/* $Id: processor.c,v 1.8 2000/08/10 09:44:09 reinelt Exp $ +/* $Id: processor.c,v 1.9 2001/02/11 23:34:07 reinelt Exp $ * * main data processing * @@ -20,6 +20,13 @@ * * * $Log: processor.c,v $ + * Revision 1.9 2001/02/11 23:34:07 reinelt + * + * + * fixed a small bug where the throughput of an offline ISDN connection is displayed as '----', but the + * online value is 5 chars long. corrected to ' ----'. + * thanks to Carsten Nau <info@cnau.de> + * * Revision 1.8 2000/08/10 09:44:09 reinelt * * new debugging scheme: error(), info(), debug() @@ -331,7 +338,7 @@ static void print_token (int token, char **p) if (isdn.usage) *p+=sprintf (*p, "%5.0f", query(token)); else - *p+=sprintf (*p, "----"); + *p+=sprintf (*p, " ----"); break; default: *p+=sprintf (*p, "%5.0f", query(token)); |