aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorreinelt <>2000-03-28 07:22:15 +0000
committerreinelt <>2000-03-28 07:22:15 +0000
commitbf336ed4eeb6ade0e5c963b76683df3d1fd1fd7b (patch)
tree5ec56b09a89056f031446eb57f33f725359e74df /cfg.c
parent3ad720e23a52f07045612833e56d0fcf94f988c8 (diff)
downloadlcd4linux-bf336ed4eeb6ade0e5c963b76683df3d1fd1fd7b.tar.gz
[lcd4linux @ 2000-03-28 07:22:15 by reinelt]
version 0.95 released X11 driver up and running minor bugs fixed
Diffstat (limited to '')
-rw-r--r--cfg.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/cfg.c b/cfg.c
index fcb9651..7a9fa14 100644
--- a/cfg.c
+++ b/cfg.c
@@ -1,4 +1,4 @@
-/* $Id: cfg.c,v 1.4 2000/03/26 20:00:44 reinelt Exp $
+/* $Id: cfg.c,v 1.5 2000/03/28 07:22:15 reinelt Exp $
*
* config file stuff
*
@@ -20,6 +20,12 @@
*
*
* $Log: cfg.c,v $
+ * Revision 1.5 2000/03/28 07:22:15 reinelt
+ *
+ * version 0.95 released
+ * X11 driver up and running
+ * minor bugs fixed
+ *
* Revision 1.4 2000/03/26 20:00:44 reinelt
*
* README.Raster added
@@ -72,6 +78,7 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
+#include <errno.h>
#include "cfg.h"
@@ -108,7 +115,11 @@ static char *dequote (char *string)
char *p=string;
do {
- if (*s!='\\') *p++=*s;
+ if (*s=='\\' && *(s+1)=='#') {
+ *p++=*++s;
+ } else {
+ *p++=*s;
+ }
} while (*s++);
return string;