diff options
| author | Ben Key | 2002-12-10 07:09:41 +0000 |
|---|---|---|
| committer | Ben Key | 2002-12-10 07:09:41 +0000 |
| commit | 2573153f50c8451949c4333542aba5038cbbc375 (patch) | |
| tree | 14ff650e444dc1b7dd350c228910076967b7da1b /src | |
| parent | 14e7b3a918aa08f6234390c3445ddd646aba4f54 (diff) | |
| download | emacs-2573153f50c8451949c4333542aba5038cbbc375.tar.gz emacs-2573153f50c8451949c4333542aba5038cbbc375.zip | |
fixed a couple of minor compilation errors in editfns.c
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/editfns.c b/src/editfns.c index 8ab359dea96..62bd324dfc1 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3212,7 +3212,7 @@ usage: (format STRING &rest OBJECTS) */) | |||
| 3212 | string itself, will not be used. Element NARGS, corresponding to | 3212 | string itself, will not be used. Element NARGS, corresponding to |
| 3213 | no argument, *will* be assigned to in the case that a `%' and `.' | 3213 | no argument, *will* be assigned to in the case that a `%' and `.' |
| 3214 | occur after the final format specifier. */ | 3214 | occur after the final format specifier. */ |
| 3215 | int precision[nargs]; | 3215 | int * precision = (int *) (_alloca(nargs * sizeof (int))); |
| 3216 | int longest_format; | 3216 | int longest_format; |
| 3217 | Lisp_Object val; | 3217 | Lisp_Object val; |
| 3218 | struct info | 3218 | struct info |
| @@ -3388,7 +3388,7 @@ usage: (format STRING &rest OBJECTS) */) | |||
| 3388 | /* Filter out flag value of -1. This is a conditional with omitted | 3388 | /* Filter out flag value of -1. This is a conditional with omitted |
| 3389 | operand: the value is PRECISION[N] if the conditional is >=0 and | 3389 | operand: the value is PRECISION[N] if the conditional is >=0 and |
| 3390 | otherwise is 0. */ | 3390 | otherwise is 0. */ |
| 3391 | thissize = MAX_10_EXP + 100 + (precision[n] > 0 ? : 0); | 3391 | thissize = MAX_10_EXP + 100 + ((precision[n] > 0)?precision[n]:0); |
| 3392 | } | 3392 | } |
| 3393 | else | 3393 | else |
| 3394 | { | 3394 | { |