1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

; * src/w32term.c (w32_construct_mouse_wheel): Fix a typo.

This commit is contained in:
Eli Zaretskii 2021-12-01 15:57:59 +02:00
parent 2ee6621fe9
commit ddaedb1910

View file

@ -3251,10 +3251,10 @@ w32_construct_mouse_wheel (struct input_event *result, W32Msg *msg,
int scroll_unit = max (w32_wheel_scroll_lines, 1), nlines;
double value_to_report;
/* w32_wheel_scroll_lines == INT_MAX means the user asked for
/* w32_wheel_scroll_lines == UINT_MAX means the user asked for
"entire page" to be the scroll unit. We interpret that as
the height of the window under the mouse pointer. */
if (w32_wheel_scroll_lines == INT_MAX)
if (w32_wheel_scroll_lines == UINT_MAX)
{
Lisp_Object window = window_from_coordinates (f, p.x, p.y, NULL,
false, false);