1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

Fix function name conflict between source files

Fixes #574.
This commit is contained in:
Camilla Berglund 2015-08-16 15:35:12 +02:00
parent e528a8c7a4
commit 04a439a0a0

View File

@ -38,7 +38,7 @@
// Translate an X11 key code to a GLFW key code.
//
static int translateKey(int scancode)
static int translateKeyCode(int scancode)
{
int keySym;
@ -317,7 +317,7 @@ static void createKeyTables(void)
for (scancode = 0; scancode < 256; scancode++)
{
if (_glfw.x11.publicKeys[scancode] < 0)
_glfw.x11.publicKeys[scancode] = translateKey(scancode);
_glfw.x11.publicKeys[scancode] = translateKeyCode(scancode);
}
}