summaryrefslogtreecommitdiff
path: root/src/gui/theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/gui/theme.cpp
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadmanaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
manaplus-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r--src/gui/theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp
index 8a7b5ff41..5eda09a36 100644
--- a/src/gui/theme.cpp
+++ b/src/gui/theme.cpp
@@ -906,7 +906,7 @@ static int readColorType(const std::string &type)
static Color readColor(const std::string &description)
{
- const int size = static_cast<const int>(description.length());
+ const int size = static_cast<int>(description.length());
if (size < 7 || description[0] != '#')
{
logger->log("Error, invalid theme color palette: %s",