From f291362d8828a583d82223d49d247ece555ef87e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Tue, 12 Mar 2024 18:10:54 +0100 Subject: [PATCH] Revert name of `enum` literal `Ui` back to `UI` This `enum` literal was accidentally included in the renaming of the `UI` function to `Ui`. --- src/game/client/lineinput.h | 2 +- src/game/client/ui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/lineinput.h b/src/game/client/lineinput.h index 8d47008c1..cbf4e42e9 100644 --- a/src/game/client/lineinput.h +++ b/src/game/client/lineinput.h @@ -15,7 +15,7 @@ enum class EInputPriority { NONE = 0, - Ui, + UI, CHAT, CONSOLE, }; diff --git a/src/game/client/ui.cpp b/src/game/client/ui.cpp index 96d6360f8..60a1ef973 100644 --- a/src/game/client/ui.cpp +++ b/src/game/client/ui.cpp @@ -804,7 +804,7 @@ bool CUi::DoEditBox(CLineInput *pLineInput, const CUIRect *pRect, float FontSize SetHotItem(pLineInput); if(Enabled() && Active && !JustGotActive) - pLineInput->Activate(EInputPriority::Ui); + pLineInput->Activate(EInputPriority::UI); else pLineInput->Deactivate();