From 60527ab180fb3391fe9452c7dae4c2f8704df288 Mon Sep 17 00:00:00 2001 From: Alexander Seiler Date: Thu, 30 Mar 2023 00:44:25 +0200 Subject: Fix some typos (#1907) Signed-off-by: Alexander Seiler --- src/config/ConfigManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config/ConfigManager.cpp') diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 2283b61c..2b0e1da0 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -611,8 +611,8 @@ void CConfigManager::handleBezier(const std::string& command, const std::string& void CConfigManager::setAnimForChildren(SAnimationPropertyConfig* const ANIM) { for (auto& [name, anim] : animationConfig) { - if (anim.pParentAnimation == ANIM && !anim.overriden) { - // if a child isnt overriden, set the values of the parent + if (anim.pParentAnimation == ANIM && !anim.overridden) { + // if a child isnt overridden, set the values of the parent anim.pValues = ANIM->pValues; setAnimForChildren(&anim); @@ -635,7 +635,7 @@ void CConfigManager::handleAnimation(const std::string& command, const std::stri return; } - PANIM->second.overriden = true; + PANIM->second.overridden = true; PANIM->second.pValues = &PANIM->second; // on/off -- cgit v1.2.3