]> git.mxchange.org Git - flightgear.git/commitdiff
Windows uses ';' instead of ':' as a path separator.
authorehofman <ehofman>
Sun, 6 Jun 2004 19:34:31 +0000 (19:34 +0000)
committerehofman <ehofman>
Sun, 6 Jun 2004 19:34:31 +0000 (19:34 +0000)
src/Scenery/FGTileLoader.cxx

index 07fb517d2400b54fa93ce79f1f89624163c35490..bb89d746cccc889ee10c6f715519b5d8d9646551 100644 (file)
@@ -98,7 +98,12 @@ FGTileLoader::add( FGTileEntry* tile )
        } else {
             SGPath tmp;
            tmp.set( globals->get_fg_root() );
-            tmp.append( "Scenery/Terrain:" );
+            tmp.append( "Scenery/Terrain" );
+#ifdef _MSC_VER
+            tmp.append( ";");
+#else
+            tmp.append( ":");
+#endif
             tmp.append(globals->get_fg_root() );
             tmp.append( "Scenery/Objects" );
             tile_path = tmp.str();