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();