diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-03-24 11:36:56 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-03-24 11:36:56 +0000 |
commit | 108ff7e83d8a69ef209e269c1a836f47fb425799 (patch) | |
tree | 1b31309b468fb2de31bf93282e40b7279844e5f9 /parser.c | |
parent | 965f2f1d917c26c87e6ef5e86ae9d5fca307d432 (diff) | |
download | lcd4linux-108ff7e83d8a69ef209e269c1a836f47fb425799.tar.gz |
[lcd4linux @ 2000-03-24 11:36:56 by reinelt]
new syntax for raster configuration
changed XRES and YRES to be configurable
PPM driver works nice
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@18 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | parser.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: parser.c,v 1.4 2000/03/19 08:41:28 reinelt Exp $ +/* $Id: parser.c,v 1.5 2000/03/24 11:36:56 reinelt Exp $ * * row definition parser * @@ -20,6 +20,12 @@ * * * $Log: parser.c,v $ + * Revision 1.5 2000/03/24 11:36:56 reinelt + * + * new syntax for raster configuration + * changed XRES and YRES to be configurable + * PPM driver works nice + * * Revision 1.4 2000/03/19 08:41:28 reinelt * * documentation available! README, README.MatrixOrbital, README.Drivers @@ -225,7 +231,7 @@ char *parse (char *string, int supported_bars, int usage[]) break; default: - *p++=*s++; + if ((*p++=*s)!='\0') s++; } } while (*s); |