diff options
author | Juanma Barranquero <[email protected]> | 2002-12-10 07:40:21 +0000 |
---|---|---|
committer | Juanma Barranquero <[email protected]> | 2002-12-10 07:40:21 +0000 |
commit | b11f1d8a332465e124e6fdc02d445af4bc29014e (patch) | |
tree | 631b443a255ce12154703522e21c1b6e1acdc4aa /src/editfns.c | |
parent | 2573153f50c8451949c4333542aba5038cbbc375 (diff) |
(Fformat): Use alloca, not _alloca.
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/editfns.c b/src/editfns.c index 62bd324dfc..6deb9b96f8 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3212,7 +3212,7 @@ usage: (format STRING &rest OBJECTS) */) string itself, will not be used. Element NARGS, corresponding to no argument, *will* be assigned to in the case that a `%' and `.' occur after the final format specifier. */ - int * precision = (int *) (_alloca(nargs * sizeof (int))); + int *precision = (int *) (alloca(nargs * sizeof (int))); int longest_format; Lisp_Object val; struct info @@ -3385,10 +3385,8 @@ usage: (format STRING &rest OBJECTS) */) /* Note that we're using sprintf to print floats, so we have to take into account what that function prints. */ - /* Filter out flag value of -1. This is a conditional with omitted - operand: the value is PRECISION[N] if the conditional is >=0 and - otherwise is 0. */ - thissize = MAX_10_EXP + 100 + ((precision[n] > 0)?precision[n]:0); + /* Filter out flag value of -1. */ + thissize = MAX_10_EXP + 100 + ((precision[n] > 0) ? precision[n] : 0); } else { |