summaryrefslogtreecommitdiff
path: root/src/textcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/textcommand.cpp')
-rw-r--r--src/textcommand.cpp2
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");