diff --git a/Source/Client/Input/Language.cpp b/Source/Client/Input/Language.cpp index 2395a2433..e6f26d43f 100644 --- a/Source/Client/Input/Language.cpp +++ b/Source/Client/Input/Language.cpp @@ -103,7 +103,7 @@ void CLanguageBase::CopyDisplayText(std::string& output) const { } if (!this->candidate.empty()) { - output.insert(static_cast(this->cursor), this->candidate.c_str(), std::strlen(this->candidate.c_str())); + output.insert(static_cast(this->cursor), this->candidate.c_str()); } }