]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a typo.
authorJames Turner <zakalawe@mac.com>
Tue, 25 Sep 2012 09:07:11 +0000 (10:07 +0100)
committerJames Turner <zakalawe@mac.com>
Tue, 25 Sep 2012 09:07:11 +0000 (10:07 +0100)
src/Canvas/elements/CanvasImage.cxx
src/Canvas/elements/text.cxx
src/Main/globals.cxx
src/Main/globals.hxx

index 8eb1e3e0c8f47ad2e108ffabfdc4645baf43617e..a11db16a3b417ec620f0e2cc998709f34458baa4 100644 (file)
@@ -291,7 +291,7 @@ namespace canvas
       }
       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);
index a7f44c4f123a38d12a12dd18391290c0e010b7d5..35b6473d100ac6926dac3c71286a97e66c5d98e5 100644 (file)
@@ -284,7 +284,7 @@ namespace canvas
   //----------------------------------------------------------------------------
   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
index 1d3e14264843da9f94e27ccaa681f46c0d8972bb..683339dcf03d480056b1e0b46b0efda030247cf6 100644 (file)
@@ -327,7 +327,7 @@ SGPath FGGlobals::resolve_maybe_aircraft_path(const std::string& branch) const
   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")));
index 5fd300ced5376cb2094bb1523777414ec14d7eff..97f07307adb119231396c4679f160d5b5d9b4284 100644 (file)
@@ -211,7 +211,7 @@ public:
      *  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; }