aboutsummaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
authorreinelt <>2000-03-24 11:36:56 +0000
committerreinelt <>2000-03-24 11:36:56 +0000
commita64e6fe1fc676771b589503916bde0f857401119 (patch)
tree1b31309b468fb2de31bf93282e40b7279844e5f9 /parser.c
parent53195ac9c4d7426fa9d8806621370c265aeb3fe5 (diff)
downloadlcd4linux-a64e6fe1fc676771b589503916bde0f857401119.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
Diffstat (limited to '')
-rw-r--r--parser.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index 4d9346d..f9ff7e1 100644
--- a/parser.c
+++ b/parser.c
@@ -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);