diff --git a/es-core/src/components/HelpComponent.cpp b/es-core/src/components/HelpComponent.cpp index d2eb37ec7..25308e546 100644 --- a/es-core/src/components/HelpComponent.cpp +++ b/es-core/src/components/HelpComponent.cpp @@ -121,16 +121,17 @@ std::shared_ptr HelpComponent::getIconTexture(const char* name) auto pathLookup = ICON_PATH_MAP.find(name); if (pathLookup == ICON_PATH_MAP.cend()) { - LOG(LogError) << "Unknown help icon \"" << name << "\"!"; + LOG(LogError) << "Unknown help icon \"" << name << "\""; return nullptr; } if (!ResourceManager::getInstance()->fileExists(pathLookup->second)) { - LOG(LogError) << "Help icon \"" << name << - "\" - corresponding image file \"" << pathLookup->second << "\" misisng!"; + LOG(LogError) << "Couldn't load help icon \"" << name << + "\" as the file \"" << pathLookup->second << "\" is missing"; return nullptr; } - std::shared_ptr tex = TextureResource::get(pathLookup->second); + std::shared_ptr tex = + TextureResource::get(pathLookup->second, false, false, false); mIconCache[std::string(name)] = tex; return tex; }