Skip to content

Replace usages of ImGuiKey_KeyPadEnter with ImGuiKey_KeypadEnter.#7143

Merged
ocornut merged 1 commit intoocornut:masterfrom
kevincoghlan:fix-regression-from-5606
Dec 18, 2023
Merged

Replace usages of ImGuiKey_KeyPadEnter with ImGuiKey_KeypadEnter.#7143
ocornut merged 1 commit intoocornut:masterfrom
kevincoghlan:fix-regression-from-5606

Conversation

@kevincoghlan
Copy link
Copy Markdown
Contributor

Two usages of ImGuiKey_KeyPadEnter were recently added to imgui.cpp (#5606), but this is an older name for the relevant enum & will not compile if IMGUI_DISABLE_OBSOLETE_FUNCTIONS is turned on.

This PR simply switches those usages to the newer name (ImGuiKey_KeypadEnter), which will compile regardless of the IMGUI_DISABLE_OBSOLETE_FUNCTIONS setting.

(Two usages of ImGuiKey_KeyPadEnter were recently added to imgui.cpp (#5606), but this is an older name for the relevant enum & will not compile if IMGUI_DISABLE_OBSOLETE_FUNCTIONS is turned on.)
@ocornut ocornut merged commit 089ed30 into ocornut:master Dec 18, 2023
@ocornut
Copy link
Copy Markdown
Owner

ocornut commented Dec 18, 2023

Oops thank you. Those keep biting me due to completion. I May obsolete this sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants