Commit aec1708a authored by Paul Eggert's avatar Paul Eggert
Browse files

* dispnew.c (scrolling_window): Return 1 if we scrolled,

to match comment at start of function.  This also removes a
GCC warning about overflow in a 32+64-bit port.
parent 68652052
2011-04-30 Paul Eggert <eggert@cs.ucla.edu>
* dispnew.c (scrolling_window): Return 1 if we scrolled,
to match comment at start of function. This also removes a
GCC warning about overflow in a 32+64-bit port.
* lisp.h (EMACS_INT, EMACS_UINT, BITS_PER_EMACS_INT, pI): Simplify.
* dbusbind.c: Do not use XPNTR on a value that may be an integer.
......
......@@ -4576,8 +4576,8 @@ scrolling_window (struct window *w, int header_line_p)
for (i = 0; i < row_entry_idx; ++i)
row_table[row_entry_pool[i].bucket] = NULL;
/* Value is > 0 to indicate that we scrolled the display. */
return nruns;
/* Value is 1 to indicate that we scrolled the display. */
return 0 < nruns;
}
......
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