diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/dispnew.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d75ec22b9f9..0a9c3d88ca5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2011-04-30 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-30 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * dispnew.c (scrolling_window): Return 1 if we scrolled, | ||
| 4 | to match comment at start of function. This also removes a | ||
| 5 | GCC warning about overflow in a 32+64-bit port. | ||
| 6 | |||
| 3 | * lisp.h (EMACS_INT, EMACS_UINT, BITS_PER_EMACS_INT, pI): Simplify. | 7 | * lisp.h (EMACS_INT, EMACS_UINT, BITS_PER_EMACS_INT, pI): Simplify. |
| 4 | 8 | ||
| 5 | * dbusbind.c: Do not use XPNTR on a value that may be an integer. | 9 | * dbusbind.c: Do not use XPNTR on a value that may be an integer. |
diff --git a/src/dispnew.c b/src/dispnew.c index 13e920166c5..0457d650b3a 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -4576,8 +4576,8 @@ scrolling_window (struct window *w, int header_line_p) | |||
| 4576 | for (i = 0; i < row_entry_idx; ++i) | 4576 | for (i = 0; i < row_entry_idx; ++i) |
| 4577 | row_table[row_entry_pool[i].bucket] = NULL; | 4577 | row_table[row_entry_pool[i].bucket] = NULL; |
| 4578 | 4578 | ||
| 4579 | /* Value is > 0 to indicate that we scrolled the display. */ | 4579 | /* Value is 1 to indicate that we scrolled the display. */ |
| 4580 | return nruns; | 4580 | return 0 < nruns; |
| 4581 | } | 4581 | } |
| 4582 | 4582 | ||
| 4583 | 4583 | ||