diff options
| author | Paul Eggert | 2011-03-06 22:39:56 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-06 22:39:56 -0800 |
| commit | 8868a2381e0ae9d40d5b9f21f38a29822ec2fe2a (patch) | |
| tree | e796d7df254c2af7b97b20fabad95ad8861dfabd /src | |
| parent | 07b48fa9daec2894ad549f44fb468b251896d829 (diff) | |
| download | emacs-8868a2381e0ae9d40d5b9f21f38a29822ec2fe2a.tar.gz emacs-8868a2381e0ae9d40d5b9f21f38a29822ec2fe2a.zip | |
* xdisp.c (redisplay_window): Rename local to avoid shadowing.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 90722187e6c..95cc4a5d633 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -14,6 +14,8 @@ | |||
| 14 | 14 | ||
| 15 | * lisp.h (IF_LINT): New macro, copied from ../lib-src/emacsclient.c. | 15 | * lisp.h (IF_LINT): New macro, copied from ../lib-src/emacsclient.c. |
| 16 | 16 | ||
| 17 | * xdisp.c (redisplay_window): Rename local to avoid shadowing. | ||
| 18 | |||
| 17 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> | 19 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> |
| 18 | 20 | ||
| 19 | * xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06 | 21 | * xdisp.c (redisplay_window): Revert incorrect logic in 2011-03-06 |
diff --git a/src/xdisp.c b/src/xdisp.c index 858a0f74fb1..f2477a2eca5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -14163,11 +14163,11 @@ redisplay_window (Lisp_Object window, int just_this_one_p) | |||
| 14163 | { | 14163 | { |
| 14164 | /* The function returns -1 if new fonts were loaded, 1 if | 14164 | /* The function returns -1 if new fonts were loaded, 1 if |
| 14165 | successful, 0 if not successful. */ | 14165 | successful, 0 if not successful. */ |
| 14166 | int rc = try_scrolling (window, just_this_one_p, | 14166 | int ss = try_scrolling (window, just_this_one_p, |
| 14167 | scroll_conservatively, | 14167 | scroll_conservatively, |
| 14168 | emacs_scroll_step, | 14168 | emacs_scroll_step, |
| 14169 | temp_scroll_step, last_line_misfit); | 14169 | temp_scroll_step, last_line_misfit); |
| 14170 | switch (rc) | 14170 | switch (ss) |
| 14171 | { | 14171 | { |
| 14172 | case SCROLLING_SUCCESS: | 14172 | case SCROLLING_SUCCESS: |
| 14173 | goto done; | 14173 | goto done; |