Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 5, 2009, 2:58:42 PM (16 years ago)
Author:
rgrieder
Message:

Using POSIX forward slashes on Windows as well. There is only one exception: Plugin loading in GSGraphics.cc

  • Removed Core::getFooPathPOSIXString()
  • Modified Core::getFooPathString() to return POSIX path strings.

This should problems when exchanging file strings over the network.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/core/LuaBind.cc

    r2710 r2750  
    5353    LuaBind::singletonRef_s = this;
    5454
    55     this->includePath_ = Core::getMediaPathPOSIXString();
     55    this->includePath_ = Core::getMediaPathString();
    5656
    5757    luaState_ = lua_open();
     
    9090    output_ = "";
    9191    std::ifstream file;
    92     file.open(filepath.file_string().c_str(), std::fstream::in);
     92    file.open(filepath.string().c_str(), std::fstream::in);
    9393
    9494    if (!file.is_open())
Note: See TracChangeset for help on using the changeset viewer.