aboutsummaryrefslogtreecommitdiff
path: root/glfw/src/x11_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'glfw/src/x11_init.c')
-rw-r--r--glfw/src/x11_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glfw/src/x11_init.c b/glfw/src/x11_init.c
index e2063a1..388105e 100644
--- a/glfw/src/x11_init.c
+++ b/glfw/src/x11_init.c
@@ -42,7 +42,7 @@ static int translateKey(int scancode)
{
int keySym;
- // Valid key code range is [8,255], according to the XLib manual
+ // Valid key code range is [8,255], according to the Xlib manual
if (scancode < 8 || scancode > 255)
return GLFW_KEY_UNKNOWN;
@@ -72,7 +72,7 @@ static int translateKey(int scancode)
default: break;
}
- // Now try pimary keysym for function keys (non-printable keys). These
+ // Now try primary keysym for function keys (non-printable keys). These
// should not be layout dependent (i.e. US layout and international
// layouts should give the same result).
keySym = XkbKeycodeToKeysym(_glfw.x11.display, scancode, 0, 0);