Minor grammar correction

This commit is contained in:
Luflosi 2019-10-11 20:21:12 +02:00
parent 96f691ad64
commit b6ee88056e
No known key found for this signature in database
GPG Key ID: 14140F703B7D8362
2 changed files with 4 additions and 4 deletions

4
glfw/glfw3.h vendored
View File

@ -1543,8 +1543,8 @@ typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
* @param[in] xoffset The scroll offset along the x-axis. * @param[in] xoffset The scroll offset along the x-axis.
* @param[in] yoffset The scroll offset along the y-axis. * @param[in] yoffset The scroll offset along the y-axis.
* @param[in] flags A bit-mask providing extra data about the event. * @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". * 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. * typically pixel values. Otherwise the offset values are number of lines.
* (flags >> 1) & 7 will have value 1 for the start of momentum scrolling, * (flags >> 1) & 7 will have value 1 for the start of momentum scrolling,
* value 2 for stationary momentum scrolling, value 3 for 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 * in progress, value 4 for momentum scrolling ended, value 5 for momentum

4
kitty/glfw-wrapper.h generated
View File

@ -1303,8 +1303,8 @@ typedef void (* GLFWcursorenterfun)(GLFWwindow*,int);
* @param[in] xoffset The scroll offset along the x-axis. * @param[in] xoffset The scroll offset along the x-axis.
* @param[in] yoffset The scroll offset along the y-axis. * @param[in] yoffset The scroll offset along the y-axis.
* @param[in] flags A bit-mask providing extra data about the event. * @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". * 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. * typically pixel values. Otherwise the offset values are number of lines.
* (flags >> 1) & 7 will have value 1 for the start of momentum scrolling, * (flags >> 1) & 7 will have value 1 for the start of momentum scrolling,
* value 2 for stationary momentum scrolling, value 3 for 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 * in progress, value 4 for momentum scrolling ended, value 5 for momentum