Skip to content

Commit

Permalink
Remove unnecessary condition in ResolveModernName
Browse files Browse the repository at this point in the history
  • Loading branch information
Lpsd committed Jan 16, 2025
1 parent 528244a commit 0310d8d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Client/gui/CGUI_Impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2062,8 +2062,5 @@ CEGUI::Window* CGUI_Impl::GetMasterWindow(CEGUI::Window* wnd)

std::string CGUI_Impl::ResolveModernName(const char* name)
{
if (name == "DefaultWindow")
return "FrameWindowModern";

return m_bUseModernSkin ? std::string(name) + "Modern" : name;
}

0 comments on commit 0310d8d

Please sign in to comment.