summaryrefslogtreecommitdiff
path: root/src/gui/color.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/color.cpp')
-rw-r--r--src/gui/color.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/color.cpp b/src/gui/color.cpp
index b68bf68b..f9b89857 100644
--- a/src/gui/color.cpp
+++ b/src/gui/color.cpp
@@ -2,7 +2,7 @@
* Configurable text colors
* Copyright (C) 2008 Douglas Boffey <dougaboffey@netscape.net>
*
- * This file is part of Aethyra.
+ * This file is part of The Mana World.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -52,7 +52,7 @@ Color::~Color()
}
}
-void Color::setColor(const char c, const int rgb)
+void Color::setColor(char c, int rgb)
{
for (ColVector::iterator col = mColVector.begin(),
colEnd = mColVector.end();
@@ -67,7 +67,7 @@ void Color::setColor(const char c, const int rgb)
}
}
-int Color::getColor(const char c, bool &valid) const
+int Color::getColor(char c, bool &valid) const
{
for (ColVector::const_iterator col = mColVector.begin(),
colEnd = mColVector.end();
@@ -102,7 +102,7 @@ char Color::getColorCharAt(int i)
return mColVector[i].ch;
}
-void Color::addColor(const char c, const int rgb, const std::string &text)
+void Color::addColor(char c, int rgb, const std::string &text)
{
int trueRgb = (int) config.getValue("Color" + text, rgb);
mColVector.push_back(ColorElem(c, trueRgb, text));