summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/function.c b/function.c
index 0552cd1..e543a91 100644
--- a/function.c
+++ b/function.c
@@ -527,7 +527,7 @@ expand_function (o, function, text, end)
{
if (wordi >= nwords - 1)
{
- nwords += 5;
+ nwords *= 2;
words = (char **) xrealloc ((char *) words,
nwords * sizeof (char *));
}