]> git.mxchange.org Git - flightgear.git/commitdiff
Fix a warning, no functional change
authorTorsten Dreyer <torsten@t3r.de>
Mon, 5 May 2014 20:24:47 +0000 (22:24 +0200)
committerTorsten Dreyer <torsten@t3r.de>
Mon, 5 May 2014 20:24:47 +0000 (22:24 +0200)
src/Main/locale.cxx

index 7572f42e9de03e45bc26eec630d17131a5826f9e..e11c36c57817362046b332f809cf28734a6df55c 100644 (file)
@@ -210,7 +210,7 @@ FGLocale::loadResource(SGPropertyNode* localeNode, const char* resource)
     if (!path_str)
     {
         SG_LOG(SG_GENERAL, SG_WARN, "No path in " << stringNode->getPath() << "/" << resource << ".");
-        return NULL;
+        return false;
     }
 
     path.append(path_str);