summaryrefslogtreecommitdiffstats
path: root/src/GroupManager.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-27 21:58:00 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-27 21:58:00 +0200
commit2bdc2701f4208f5a705fafceec3685a9834714a1 (patch)
tree3c50127936a534b64e4a75687ecea94977194519 /src/GroupManager.cpp
parentUse AString(1, Color[0]) (diff)
downloadcuberite-2bdc2701f4208f5a705fafceec3685a9834714a1.tar
cuberite-2bdc2701f4208f5a705fafceec3685a9834714a1.tar.gz
cuberite-2bdc2701f4208f5a705fafceec3685a9834714a1.tar.bz2
cuberite-2bdc2701f4208f5a705fafceec3685a9834714a1.tar.lz
cuberite-2bdc2701f4208f5a705fafceec3685a9834714a1.tar.xz
cuberite-2bdc2701f4208f5a705fafceec3685a9834714a1.tar.zst
cuberite-2bdc2701f4208f5a705fafceec3685a9834714a1.zip
Diffstat (limited to 'src/GroupManager.cpp')
-rw-r--r--src/GroupManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GroupManager.cpp b/src/GroupManager.cpp
index f1f86dc0f..4c3dfc6f0 100644
--- a/src/GroupManager.cpp
+++ b/src/GroupManager.cpp
@@ -153,7 +153,7 @@ bool cGroupManager::LoadGroups()
AString Color = IniFile.GetValue(KeyName, "Color", "-");
if ((Color != "-") && (Color.length() >= 1))
{
- Group->SetColor(cChatColor::Delimiter + AString(1, Color[0]));
+ Group->SetColor(AString(cChatColor::Delimiter) + Color[0]);
}
else
{