From: <de...@us...> - 2002-12-14 18:57:39
|
Update of /cvsroot/csp/APPLICATIONS/CSPFlightSim/Source In directory sc8-pr-cvs1:/tmp/cvs-serv8310 Modified Files: GlobalCommands.cpp Log Message: Trying to fix '\n', '\r' Index: GlobalCommands.cpp =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPFlightSim/Source/GlobalCommands.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** GlobalCommands.cpp 13 Dec 2002 04:39:06 -0000 1.5 --- GlobalCommands.cpp 14 Dec 2002 18:57:36 -0000 1.6 *************** *** 101,110 **** if (!OSPath::isabs(path)) { string base; ! base = OSPath::join(".", "scripts"); ! path = OSPath::join(base, path); } path = OSPath::filter(path); - // open file ifstream file(path.c_str()); --- 101,109 ---- if (!OSPath::isabs(path)) { string base; ! base = "../Data/Scripts"; ! path = OSPath::join(base, path); } path = OSPath::filter(path); // open file ifstream file(path.c_str()); |