Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 1, 2015, 9:59:53 PM (9 years ago)
Author:
muemart
Message:

Avoid using the system path variables on windows (also gets rid of two MSVC warnings)
The altered search path already includes the dll's directory, but it didn't work with forward slashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/DynLib.cc

    r8858 r10295  
    5656    {
    5757        mName = name;
     58#if defined(ORXONOX_PLATFORM_WINDOWS)
     59        //altered search path doesn't work with paths with forward slashes
     60        std::replace(mName.begin(), mName.end(), '/', '\\');
     61#endif
    5862        m_hInst = NULL;
    5963    }
Note: See TracChangeset for help on using the changeset viewer.