summaryrefslogtreecommitdiff
path: root/src/textcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/textcommand.cpp')
-rw-r--r--src/textcommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textcommand.cpp b/src/textcommand.cpp
index e83e1f08a..a89b916fe 100644
--- a/src/textcommand.cpp
+++ b/src/textcommand.cpp
@@ -128,8 +128,8 @@ void TextCommand::loadImage()
return;
const SpriteDisplay display = ItemDB::get(getIcon()).getDisplay();
- mImage = ImageLoader::getImage(paths.getStringValue("itemIcons")
- .append(display.image));
+ mImage = Loader::getImage(paths.getStringValue("itemIcons").append(
+ display.image));
if (!mImage)
mImage = Theme::getImageFromTheme("unknown-item.png");