This commit is contained in:
Camilla Löwy 2018-05-18 15:22:48 +02:00
parent a9a5a0b016
commit fdfb5ab466

View File

@ -1086,8 +1086,8 @@ GLFWAPI int glfwUpdateGamepadMappings(const char* string)
while (*c) while (*c)
{ {
if ((*c >= '0' && *c <= '9') || if ((*c >= '0' && *c <= '9') ||
(*c >= 'a' && *c <= 'z') || (*c >= 'a' && *c <= 'f') ||
(*c >= 'A' && *c <= 'Z')) (*c >= 'A' && *c <= 'F'))
{ {
char line[1024]; char line[1024];