diff options
Diffstat (limited to 'src/Intrinsic.c')
-rw-r--r-- | src/Intrinsic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Intrinsic.c b/src/Intrinsic.c index 7ca4e7c..88d66e7 100644 --- a/src/Intrinsic.c +++ b/src/Intrinsic.c @@ -1309,7 +1309,7 @@ FillInLangSubs(Substitution subs, XtPerDisplay pd) len = (int) strlen(string) + 1; subs[0].substitution = (_XtString) string; - p1 = subs[1].substitution = __XtMalloc((Cardinal) (3 * len)); + p1 = subs[1].substitution = XtMallocArray(3, (Cardinal) len); p2 = subs[2].substitution = subs[1].substitution + len; p3 = subs[3].substitution = subs[2].substitution + len; |