From f1ff03d562c4b6e7c22b96b538f0bc007d8899e5 Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Mon, 1 Jul 2024 00:30:46 +0100 Subject: [PATCH] Change /mem to \mem for subtracting mem from list /mem has the meaning of ALL\mem in set theory, which could cause confusion. --- src/update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update.c b/src/update.c index 6aaf2b6d..ee4ee015 100644 --- a/src/update.c +++ b/src/update.c @@ -315,7 +315,7 @@ static AVRMEM **memory_list(const char *mstr, const AVRPART *p, int *np, int *rw if(e) *e = 0; s = str_trim(s); - if((not = *s == '/' || *s =='-')) // /mem or -mem removes the memory + if((not = *s == '\\' || *s =='-')) // \mem or -mem removes the memory s++; if(str_eq(s, "ALL")) { for(LNODEID lm = lfirst(p->mem); lm; lm = lnext(lm))