summaryrefslogtreecommitdiff
path: root/src/textcommand.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-10 21:03:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-10 21:03:00 +0300
commitac4d991a1d69ff8258d02e5e71d04c4bc91f1e33 (patch)
treece5ef49e7e88c4a7d57355f82c48f364a91f883d /src/textcommand.cpp
parent675b9f793e5b36862294e4f0419c5cf2eab72164 (diff)
downloadplus-ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33.tar.gz
plus-ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33.tar.bz2
plus-ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33.tar.xz
plus-ac4d991a1d69ff8258d02e5e71d04c4bc91f1e33.zip
Fix variable copy in textcommand.cpp
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 320e295a2..5c0a2b071 100644
--- a/src/textcommand.cpp
+++ b/src/textcommand.cpp
@@ -132,7 +132,7 @@ void TextCommand::loadImage()
}
const ItemInfo &info = ItemDB::get(mIcon);
- const SpriteDisplay display = info.getDisplay();
+ const SpriteDisplay &display = info.getDisplay();
mImage = Loader::getImage(pathJoin(paths.getStringValue("itemIcons"),
display.image));