summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-07-06 11:16:59 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-07-08 19:46:02 +0200
commit746e4d20ee99e030b70a1e8ab272de9dfcb7dfa1 (patch)
treea8cf37e9b30ee605b4c65c984e45f4b9b08ca19b /src
parent62ac43a85bac29bed4a1c93bab592e6bdaf2838b (diff)
downloadqtlocation-mapboxgl-746e4d20ee99e030b70a1e8ab272de9dfcb7dfa1.tar.gz
explicitly name the sprite that couldn't be changed
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/annotation/sprite_store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/annotation/sprite_store.cpp b/src/mbgl/annotation/sprite_store.cpp
index a6b536873f..ac7730fb4e 100644
--- a/src/mbgl/annotation/sprite_store.cpp
+++ b/src/mbgl/annotation/sprite_store.cpp
@@ -15,7 +15,7 @@ void SpriteStore::_setSprite(const std::string& name,
auto it = sprites.find(name);
if (it != sprites.end() &&
(it->second->width != sprite->width || it->second->height != sprite->height)) {
- Log::Warning(Event::Sprite, "Can't change sprite dimensions");
+ Log::Warning(Event::Sprite, "Can't change sprite dimensions for '%s'", name.c_str());
return;
}