diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-24 22:59:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-24 22:59:54 +0300 |
commit | 6ce49efadfadd8eacb048df274979736bb04daf0 (patch) | |
tree | 60d4c2c2a803db003f6fa28e932468e925112580 /src/textcommand.cpp | |
parent | 466829aef10af6b95d0f443226e8549f4399b567 (diff) | |
download | plus-6ce49efadfadd8eacb048df274979736bb04daf0.tar.gz plus-6ce49efadfadd8eacb048df274979736bb04daf0.tar.bz2 plus-6ce49efadfadd8eacb048df274979736bb04daf0.tar.xz plus-6ce49efadfadd8eacb048df274979736bb04daf0.zip |
Improve string usage in some files.
Diffstat (limited to 'src/textcommand.cpp')
-rw-r--r-- | src/textcommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textcommand.cpp b/src/textcommand.cpp index 5cd91b9ef..af2c5a31e 100644 --- a/src/textcommand.cpp +++ b/src/textcommand.cpp @@ -117,7 +117,7 @@ void TextCommand::loadImage() ResourceManager *const resman = ResourceManager::getInstance(); SpriteDisplay display = ItemDB::get(getIcon()).getDisplay(); mImage = resman->getImage(paths.getStringValue("itemIcons") - + display.image); + .append(display.image)); if (!mImage) mImage = Theme::getImageFromTheme("unknown-item.png"); |