Commit 7f650bb9 authored by Paul Eggert's avatar Paul Eggert

* frame.c (Fmodify_frame_parameters): Simplify loop counter.

This also avoids a warning with gcc -Wstrict-overflow.
parent b1f961e1
2011-03-21 Paul Eggert <eggert@cs.ucla.edu>
* frame.c (Fmodify_frame_parameters): Simplify loop counter.
This also avoids a warning with gcc -Wstrict-overflow.
* fileio.c (Fcopy_file): Report error if fchown or fchmod
fail (Bug#8306).
......@@ -2529,8 +2529,9 @@ use is not recommended. Explicitly check for a frame-parameter instead. */)
}
/* Now process them in reverse of specified order. */
for (i--; i >= 0; i--)
while (i != 0)
{
i--;
prop = parms[i];
val = values[i];
store_frame_param (f, prop, val);
......
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