From 55e7fa269af924c6172f82b18d8765ebd02049d4 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 14 May 2016 13:56:55 +0200 Subject: [PATCH] nupa_substitute(), at the end of the loop d === *kptr --- src/frontend/numparam/xpressn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/numparam/xpressn.c b/src/frontend/numparam/xpressn.c index 706840fc5..c3287d6a7 100644 --- a/src/frontend/numparam/xpressn.c +++ b/src/frontend/numparam/xpressn.c @@ -1217,7 +1217,7 @@ nupa_substitute(dico_t *dico, const char *s, char *r) } } - if (d == '\0') { + if (*kptr == '\0') { err = message(dico, "Closing \"}\" not found.\n"); } else { /* exeption made for .meas */