diff --git a/glfw/glfw3.h b/glfw/glfw3.h index 56a18ee2d..c29f4e1ef 100644 --- a/glfw/glfw3.h +++ b/glfw/glfw3.h @@ -1543,8 +1543,8 @@ typedef void (* GLFWcursorenterfun)(GLFWwindow*,int); * @param[in] xoffset The scroll offset along the x-axis. * @param[in] yoffset The scroll offset along the y-axis. * @param[in] flags A bit-mask providing extra data about the event. - * flags & 1 will be true if and only if the offset values are "high-precision". - * Typically pixel values. Otherwise the offset values are number of lines. + * flags & 1 will be true if and only if the offset values are "high-precision", + * typically pixel values. Otherwise the offset values are number of lines. * (flags >> 1) & 7 will have value 1 for the start of momentum scrolling, * value 2 for stationary momentum scrolling, value 3 for momentum scrolling * in progress, value 4 for momentum scrolling ended, value 5 for momentum diff --git a/kitty/glfw-wrapper.h b/kitty/glfw-wrapper.h index e497600de..282ddd8c5 100644 --- a/kitty/glfw-wrapper.h +++ b/kitty/glfw-wrapper.h @@ -1303,8 +1303,8 @@ typedef void (* GLFWcursorenterfun)(GLFWwindow*,int); * @param[in] xoffset The scroll offset along the x-axis. * @param[in] yoffset The scroll offset along the y-axis. * @param[in] flags A bit-mask providing extra data about the event. - * flags & 1 will be true if and only if the offset values are "high-precision". - * Typically pixel values. Otherwise the offset values are number of lines. + * flags & 1 will be true if and only if the offset values are "high-precision", + * typically pixel values. Otherwise the offset values are number of lines. * (flags >> 1) & 7 will have value 1 for the start of momentum scrolling, * value 2 for stationary momentum scrolling, value 3 for momentum scrolling * in progress, value 4 for momentum scrolling ended, value 5 for momentum