1
0

Use AString(1, Color[0])

This commit is contained in:
Howaner 2014-07-27 21:14:45 +02:00
parent 9be92fa71d
commit 3d73040327

View File

@ -153,7 +153,7 @@ bool cGroupManager::LoadGroups()
AString Color = IniFile.GetValue(KeyName, "Color", "-"); AString Color = IniFile.GetValue(KeyName, "Color", "-");
if ((Color != "-") && (Color.length() >= 1)) if ((Color != "-") && (Color.length() >= 1))
{ {
Group->SetColor(cChatColor::Delimiter + AString(&Color[0])); Group->SetColor(cChatColor::Delimiter + AString(1, Color[0]));
} }
else else
{ {