aboutsummaryrefslogtreecommitdiffstats
path: root/cfg.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-03-28 07:22:15 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-03-28 07:22:15 +0000
commit6b61b6955e1de86af7111d6779646ab177b317ff (patch)
tree5ec56b09a89056f031446eb57f33f725359e74df /cfg.c
parent42914eda641c23996f9328c67fddb13df6225fb2 (diff)
downloadlcd4linux-6b61b6955e1de86af7111d6779646ab177b317ff.tar.gz
[lcd4linux @ 2000-03-28 07:22:15 by reinelt]
version 0.95 released X11 driver up and running minor bugs fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@25 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'cfg.c')
-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;