aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/Colours
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Common/Colours')
-rw-r--r--Minecraft.Client/Common/Colours/ColourTable.cpp2
-rw-r--r--Minecraft.Client/Common/Colours/ColourTable.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/Common/Colours/ColourTable.cpp b/Minecraft.Client/Common/Colours/ColourTable.cpp
index e4bfe732..fa1e9d69 100644
--- a/Minecraft.Client/Common/Colours/ColourTable.cpp
+++ b/Minecraft.Client/Common/Colours/ColourTable.cpp
@@ -4,7 +4,7 @@
unordered_map<wstring,eMinecraftColour> ColourTable::s_colourNamesMap;
-wchar_t *ColourTable::ColourTableElements[eMinecraftColour_COUNT] =
+const wchar_t *ColourTable::ColourTableElements[eMinecraftColour_COUNT] =
{
L"NOTSET",
diff --git a/Minecraft.Client/Common/Colours/ColourTable.h b/Minecraft.Client/Common/Colours/ColourTable.h
index 8e0a348c..af99a8ed 100644
--- a/Minecraft.Client/Common/Colours/ColourTable.h
+++ b/Minecraft.Client/Common/Colours/ColourTable.h
@@ -5,7 +5,7 @@ class ColourTable
private:
unsigned int m_colourValues[eMinecraftColour_COUNT];
- static wchar_t *ColourTableElements[eMinecraftColour_COUNT];
+ static const wchar_t *ColourTableElements[eMinecraftColour_COUNT];
static unordered_map<wstring,eMinecraftColour> s_colourNamesMap;
public: