From b66f105f3ee6b3234f6ebd64af176a3a487d70f1 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Tue, 23 Jun 2020 16:20:27 +0200 Subject: [PATCH] Fix typos --- include/GLFW/glfw3.h | 2 +- src/x11_monitor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/GLFW/glfw3.h b/include/GLFW/glfw3.h index ac9d3d68..8084bae4 100644 --- a/include/GLFW/glfw3.h +++ b/include/GLFW/glfw3.h @@ -793,7 +793,7 @@ extern "C" { * [custom cursor](@ref cursor_custom). */ #define GLFW_CURSOR_UNAVAILABLE 0x0001000B -/*! @brief The reuqested feature is not provided by the platform. +/*! @brief The requested feature is not provided by the platform. * * The requested feature is not provided by the platform, so GLFW is unable to * implement it. The documentation for each function notes if it could emit diff --git a/src/x11_monitor.c b/src/x11_monitor.c index 809b93e4..8de86596 100644 --- a/src/x11_monitor.c +++ b/src/x11_monitor.c @@ -164,7 +164,7 @@ void _glfwPollMonitorsX11(void) if (widthMM <= 0 || heightMM <= 0) { // HACK: If RandR does not provide a physical size, assume the - // X11 default 96 DPI and calcuate from the CRTC viewport + // X11 default 96 DPI and calculate from the CRTC viewport // NOTE: These members are affected by rotation, unlike the mode // info and output info members widthMM = (int) (ci->width * 25.4f / 96.f);