}
else
{
- SGPath tpath = globals->resolve_ressource_path(path);
+ SGPath tpath = globals->resolve_resource_path(path);
if( tpath.isNull() || !tpath.exists() )
{
SG_LOG(SG_GL, SG_ALERT, "canvas::Image: No such image: " << path);
//----------------------------------------------------------------------------
Text::font_ptr Text::getFont(const std::string& name)
{
- SGPath path = globals->resolve_ressource_path("Fonts/" + name);
+ SGPath path = globals->resolve_resource_path("Fonts/" + name);
if( path.isNull() )
{
SG_LOG
return simgear::ResourceManager::instance()->findPath(branch);
}
-SGPath FGGlobals::resolve_ressource_path(const std::string& branch) const
+SGPath FGGlobals::resolve_resource_path(const std::string& branch) const
{
return simgear::ResourceManager::instance()
->findPath(branch, SGPath(fgGetString("/sim/aircraft-dir")));
* 2. All aircraft directories if branch starts with Aircraft/
* 3. fg_data directory
*/
- SGPath resolve_ressource_path(const std::string& branch) const;
+ SGPath resolve_resource_path(const std::string& branch) const;
inline const std::string &get_browser () const { return browser; }
void set_browser (const std::string &b) { browser = b; }