Bryan Drewery 21 yıl önce
ebeveyn
işleme
061ee2500b
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/conf.c

+ 1 - 1
src/conf.c

@@ -526,7 +526,7 @@ readconf(char *fname, int bits)
 
 
     sdprintf("CONF LINE: %s", line);
     sdprintf("CONF LINE: %s", line);
 // !strchr("_`|}][{*/#-+!abcdefghijklmnopqrstuvwxyzABDEFGHIJKLMNOPWRSTUVWXYZ", line[0])) {
 // !strchr("_`|}][{*/#-+!abcdefghijklmnopqrstuvwxyzABDEFGHIJKLMNOPWRSTUVWXYZ", line[0])) {
-    if (enc && (char) line[0] > (char) 127) {
+    if (enc && line[0] > '~') {
       sdprintf("line %d, char %c ", i, line[0]);
       sdprintf("line %d, char %c ", i, line[0]);
       werr(ERR_CONFBADENC);
       werr(ERR_CONFBADENC);
     } else {                    /* line is good to parse */
     } else {                    /* line is good to parse */