Fix the enumeration values returned by 'try_scrolling'
* src/xdisp.c (try_scrolling): Make the enum values match the commentary. Reported by Po Lu <luangruo@yahoo.com>.
This commit is contained in:
parent
745a732ae4
commit
00236cc802
1 changed files with 3 additions and 3 deletions
|
@ -17422,9 +17422,9 @@ cursor_row_fully_visible_p (struct window *w, bool force_p,
|
|||
|
||||
enum
|
||||
{
|
||||
SCROLLING_SUCCESS,
|
||||
SCROLLING_FAILED,
|
||||
SCROLLING_NEED_LARGER_MATRICES
|
||||
SCROLLING_SUCCESS = 1,
|
||||
SCROLLING_FAILED = 0,
|
||||
SCROLLING_NEED_LARGER_MATRICES = -1
|
||||
};
|
||||
|
||||
/* If scroll-conservatively is more than this, never recenter.
|
||||
|
|
Loading…
Add table
Reference in a new issue