summaryrefslogtreecommitdiff
path: root/src/text.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-16 15:41:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-16 15:41:51 +0300
commit1b75e974088a94cd28d7a48729545904b2cd908b (patch)
treed771752fd0da4c58c8ff2d941c47274ead984e42 /src/text.cpp
parent46087564d4184b28740b0c45c1bac199ab1942ec (diff)
downloadmanaplus-1b75e974088a94cd28d7a48729545904b2cd908b.tar.gz
manaplus-1b75e974088a94cd28d7a48729545904b2cd908b.tar.bz2
manaplus-1b75e974088a94cd28d7a48729545904b2cd908b.tar.xz
manaplus-1b75e974088a94cd28d7a48729545904b2cd908b.zip
Remove some useless static methods from theme.
Diffstat (limited to 'src/text.cpp')
-rw-r--r--src/text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.cpp b/src/text.cpp
index caf5328d6..bf75e80d6 100644
--- a/src/text.cpp
+++ b/src/text.cpp
@@ -49,7 +49,7 @@ Text::Text(const std::string &text, const int x, const int y,
mXOffset(0),
mText(text),
mColor(color),
- mOutlineColor(Theme::getThemeColor(Theme::OUTLINE)),
+ mOutlineColor(theme->getColor(Theme::OUTLINE, 255)),
mIsSpeech(isSpeech)
{
if (!textManager)