aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog3
-rw-r--r--src/frame.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f8ccbfd1f3c..d833648667d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12011-03-21 Paul Eggert <eggert@cs.ucla.edu> 12011-03-21 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * frame.c (Fmodify_frame_parameters): Simplify loop counter.
4 This also avoids a warning with gcc -Wstrict-overflow.
5
3 * fileio.c (Fcopy_file): Report error if fchown or fchmod 6 * fileio.c (Fcopy_file): Report error if fchown or fchmod
4 fail (Bug#8306). 7 fail (Bug#8306).
5 8
diff --git a/src/frame.c b/src/frame.c
index 05938f3e1f0..5c676527909 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2529,8 +2529,9 @@ use is not recommended. Explicitly check for a frame-parameter instead. */)
2529 } 2529 }
2530 2530
2531 /* Now process them in reverse of specified order. */ 2531 /* Now process them in reverse of specified order. */
2532 for (i--; i >= 0; i--) 2532 while (i != 0)
2533 { 2533 {
2534 i--;
2534 prop = parms[i]; 2535 prop = parms[i];
2535 val = values[i]; 2536 val = values[i];
2536 store_frame_param (f, prop, val); 2537 store_frame_param (f, prop, val);