Commit 2573153f authored by Ben Key's avatar Ben Key
Browse files

fixed a couple of minor compilation errors in editfns.c

parent 14e7b3a9
...@@ -3212,7 +3212,7 @@ usage: (format STRING &rest OBJECTS) */) ...@@ -3212,7 +3212,7 @@ usage: (format STRING &rest OBJECTS) */)
string itself, will not be used. Element NARGS, corresponding to string itself, will not be used. Element NARGS, corresponding to
no argument, *will* be assigned to in the case that a `%' and `.' no argument, *will* be assigned to in the case that a `%' and `.'
occur after the final format specifier. */ occur after the final format specifier. */
int precision[nargs]; int * precision = (int *) (_alloca(nargs * sizeof (int)));
int longest_format; int longest_format;
Lisp_Object val; Lisp_Object val;
struct info struct info
...@@ -3388,7 +3388,7 @@ usage: (format STRING &rest OBJECTS) */) ...@@ -3388,7 +3388,7 @@ usage: (format STRING &rest OBJECTS) */)
/* Filter out flag value of -1. This is a conditional with omitted /* Filter out flag value of -1. This is a conditional with omitted
operand: the value is PRECISION[N] if the conditional is >=0 and operand: the value is PRECISION[N] if the conditional is >=0 and
otherwise is 0. */ otherwise is 0. */
thissize = MAX_10_EXP + 100 + (precision[n] > 0 ? : 0); thissize = MAX_10_EXP + 100 + ((precision[n] > 0)?precision[n]:0);
} }
else else
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment