> Modified Files: > FGTileLoader.cxx > Log Message: > Windows uses ';' instead of ':' as a path separator. > > Index: FGTileLoader.cxx > =================================================================== > RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Scenery/FGTileLoader.cxx,v > retrieving revision 1.7 > retrieving revision 1.8 > diff -C2 -r1.7 -r1.8 > *** a/FGTileLoader.cxx 6 Jun 2004 19:15:04 -0000 1.7 > --- b/FGTileLoader.cxx 6 Jun 2004 19:34:31 -0000 1.8 > *************** > *** 99,103 **** > SGPath tmp; > tmp.set( globals->get_fg_root() ); > ! tmp.append( "Scenery/Terrain:" ); > tmp.append(globals->get_fg_root() ); > tmp.append( "Scenery/Objects" ); > --- 99,108 ---- > SGPath tmp; > tmp.set( globals->get_fg_root() ); > ! tmp.append( "Scenery/Terrain" ); > ! #ifdef _MSC_VER > ! tmp.append( ";"); > ! #else > ! tmp.append( ":"); > ! #endif > tmp.append(globals->get_fg_root() ); > tmp.append( "Scenery/Objects" ); >
Doesn't SGPath.apapend just do the right thing here ? i.e. there shouldn't be a need to do the > ! #ifdef _MSC_VER > ! tmp.append( ";"); > ! #else > ! tmp.append( ":"); > ! #endif kludge in the patch below if append() doesn't do the right thing I suggest we would be better off fixing append() rather then kludging every instance of it use. Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
