Use AString(1, Color[0])
This commit is contained in:
parent
9be92fa71d
commit
3d73040327
@ -153,7 +153,7 @@ bool cGroupManager::LoadGroups()
|
||||
AString Color = IniFile.GetValue(KeyName, "Color", "-");
|
||||
if ((Color != "-") && (Color.length() >= 1))
|
||||
{
|
||||
Group->SetColor(cChatColor::Delimiter + AString(&Color[0]));
|
||||
Group->SetColor(cChatColor::Delimiter + AString(1, Color[0]));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user