From d194cbe3b7b6595db93ba278f7abce864c5b0a07 Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Mon, 2 Oct 2023 19:05:27 +0300 Subject: [PATCH] remove this-> --- loader/src/hooks/TextInputNodeFix.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/loader/src/hooks/TextInputNodeFix.cpp b/loader/src/hooks/TextInputNodeFix.cpp index 73aa6051..18541761 100644 --- a/loader/src/hooks/TextInputNodeFix.cpp +++ b/loader/src/hooks/TextInputNodeFix.cpp @@ -6,11 +6,11 @@ using namespace geode::prelude; struct TextNodeFix : Modify { bool onTextFieldInsertText(cocos2d::CCTextFieldTTF* field, char const* text, int count) { - auto change = count >= this->m_maxLabelLength ? 1 : 0; + auto change = count >= m_maxLabelLength ? 1 : 0; - this->m_maxLabelLength += change; + m_maxLabelLength += change; auto ret = CCTextInputNode::onTextFieldInsertText(field, text, count); - this->m_maxLabelLength -= change; + m_maxLabelLength -= change; return ret; } };