Changeset 2859 for code/branches
- Timestamp:
- Mar 27, 2009, 4:04:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/core/Core.cc
r2848 r2859 489 489 boost::filesystem::path relativeExecutablePath(ORXONOX_RUNTIME_INSTALL_PATH); 490 490 rootPath_g = executablePath_g; 491 while (!boost::filesystem::equivalent(rootPath_g / relativeExecutablePath, executablePath_g) ||rootPath_g.empty())491 while (!boost::filesystem::equivalent(rootPath_g / relativeExecutablePath, executablePath_g) && !rootPath_g.empty()) 492 492 rootPath_g = rootPath_g.branch_path(); 493 493 if (rootPath_g.empty())
Note: See TracChangeset
for help on using the changeset viewer.