Code readability, vec reserve() and remove excess c_str()

This commit is contained in:
lainon committed 2022-09-30 12:31:32 +03:00
1 parent fec708489a
commit b304551747
22 files changed
+41 -34

No files matched your search

+1 -1
View File
@@ -138,7 +138,7 @@ void ChatMenu::UpdateChat() {
uint32_t textcolor = 0xFFFFFF;
uint32_t infocolor = 0xFDD835;
std::string name = g_Config.sNickName.c_str();
std::string name = g_Config.sNickName;
std::string displayname = i.substr(0, i.find(':'));
std::string chattext = i.substr(displayname.length());