Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace usages of ImGuiKey_KeyPadEnter with ImGuiKey_KeypadEnter. #7143

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Replace usages of ImGuiKey_KeyPadEnter with ImGuiKey_KeypadEnter. #7143

merged 1 commit into from
Dec 18, 2023

Conversation

kevincoghlan
Copy link
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
Owner

ocornut commented Dec 18, 2023

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

@kevincoghlan kevincoghlan deleted the fix-regression-from-5606 branch December 19, 2023 00:24
ocornut added a commit that referenced this pull request Dec 19, 2023
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