From: Mazet Laurent Date: Thu, 24 Apr 2025 16:14:23 +0000 (+0200) Subject: fix array parsing X-Git-Tag: v1.0~35 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=61e6bbfb832aa18a5c1049dccb618648b5837a44;p=morep.git fix array parsing --- diff --git a/parse.h b/parse.h index 396a228..c678aba 100644 --- a/parse.h +++ b/parse.h @@ -76,6 +76,7 @@ __BEGIN_DECLS char *val = pt; \ while (*pt != '\0') { \ if ((*pt == ' ') && (*(pt - 1) != '\\')) { \ + *pt = '\0'; \ break; \ } \ pt++; \