summaryrefslogtreecommitdiffstats
path: root/src/GroupManager.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-07-27 21:14:45 +0200
committerHowaner <franzi.moos@googlemail.com>2014-07-27 21:14:45 +0200
commit3d730403278bca630856ce7d275aed920aa20235 (patch)
tree6072cfa6d3a7feab9c8fe1172d22c9ea3f767ee0 /src/GroupManager.cpp
parentUse Color[0]. (diff)
downloadcuberite-3d730403278bca630856ce7d275aed920aa20235.tar
cuberite-3d730403278bca630856ce7d275aed920aa20235.tar.gz
cuberite-3d730403278bca630856ce7d275aed920aa20235.tar.bz2
cuberite-3d730403278bca630856ce7d275aed920aa20235.tar.lz
cuberite-3d730403278bca630856ce7d275aed920aa20235.tar.xz
cuberite-3d730403278bca630856ce7d275aed920aa20235.tar.zst
cuberite-3d730403278bca630856ce7d275aed920aa20235.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 e03f8bca3..f1f86dc0f 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(&Color[0]));
+ Group->SetColor(cChatColor::Delimiter + AString(1, Color[0]));
}
else
{