md, fix carthw.cfg parsing

This commit is contained in:
kub 2023-06-05 22:21:16 +00:00
parent 3615ff7283
commit a18d5e22b3
2 changed files with 10 additions and 8 deletions

View file

@ -39,6 +39,8 @@ int main(int argc, char *argv[])
strcpy(p, "[]");
for (; *p != 0; p++) {
if (!quote && *p == '#')
break;
if (!quote && isspace(*p))
continue;
if (*p == '"') {