Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2859 for code/branches


Ignore:
Timestamp:
Mar 27, 2009, 4:04:24 PM (16 years ago)
Author:
rgrieder
Message:

Infinite loop bugfix if orxonox_dev_build.keep_me is missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/core/Core.cc

    r2848 r2859  
    489489            boost::filesystem::path relativeExecutablePath(ORXONOX_RUNTIME_INSTALL_PATH);
    490490            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())
    492492                rootPath_g = rootPath_g.branch_path();
    493493            if (rootPath_g.empty())
Note: See TracChangeset for help on using the changeset viewer.