mirror of
https://github.com/glfw/glfw.git
synced 2024-11-24 13:44:35 +00:00
Remove truism from end of gamepad mapping regexp
The rest of the line is guaranteed to either contain or not contain
characters.
(cherry picked from commit 7c25dff002
)
This commit is contained in:
parent
0a3fb9940f
commit
cf70b10692
@ -23,7 +23,7 @@ endif()
|
|||||||
|
|
||||||
file(STRINGS "${source_path}" lines)
|
file(STRINGS "${source_path}" lines)
|
||||||
foreach(line ${lines})
|
foreach(line ${lines})
|
||||||
if (line MATCHES "^[0-9a-fA-F].*$")
|
if (line MATCHES "^[0-9a-fA-F]")
|
||||||
if (line MATCHES "platform:Windows")
|
if (line MATCHES "platform:Windows")
|
||||||
if (GLFW_WIN32_MAPPINGS)
|
if (GLFW_WIN32_MAPPINGS)
|
||||||
set(GLFW_WIN32_MAPPINGS "${GLFW_WIN32_MAPPINGS}\n")
|
set(GLFW_WIN32_MAPPINGS "${GLFW_WIN32_MAPPINGS}\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user