summaryrefslogtreecommitdiff
path: root/Src/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/math.c')
-rw-r--r--Src/math.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Src/math.c b/Src/math.c
index 977e92345..37981cf22 100644
--- a/Src/math.c
+++ b/Src/math.c
@@ -535,7 +535,7 @@ lexconstant(void)
for (ptr2 = ptr; ptr2 < nptr; ptr2++) {
if (*ptr2 == '_') {
int len = nptr - ptr;
- ptr = strdup(ptr);
+ ptr = ztrdup(ptr);
for (ptr2 = ptr; len; len--) {
if (*ptr2 == '_')
chuck(ptr2);
@@ -893,7 +893,6 @@ getcvar(char *s)
return mn;
}
-
/**/
static mnumber
setmathvar(struct mathvalue *mvp, mnumber v)