From: ehofman Date: Sun, 6 Jun 2004 19:34:31 +0000 (+0000) Subject: Windows uses ';' instead of ':' as a path separator. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1bdcbd69f3c2f5370aa182213389f4faef179aca;p=flightgear.git Windows uses ';' instead of ':' as a path separator. --- diff --git a/src/Scenery/FGTileLoader.cxx b/src/Scenery/FGTileLoader.cxx index 07fb517d2..bb89d746c 100644 --- a/src/Scenery/FGTileLoader.cxx +++ b/src/Scenery/FGTileLoader.cxx @@ -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();