Subversion Server


Framework

Compare Path:  Rev
With Path:  Rev

This comparison shows the changes necessary to convert path / (Rev 484) TO / (Rev 485)

Reverse comparison

trunk/src/PathUtils.cpp

@@ -19,7 +19,7 @@
boost::filesystem::path PathUtils::GetPathFromCsidl(int csidl)
{
        wchar_t userPathString[MAX_PATH];
        if(FAILED(SHGetFolderPathW(NULL, csidl, NULL, 0, userPathString)))
        if(FAILED(SHGetFolderPathW(NULL, csidl | CSIDL_FLAG_CREATE, NULL, 0, userPathString)))
        {
                throw std::runtime_error("Couldn't get path from csidl.");
        }


trunk/src/PathUtils.cpp

@@ -19,7 +19,7 @@
boost::filesystem::path PathUtils::GetPathFromCsidl(int csidl)
{
        wchar_t userPathString[MAX_PATH];
        if(FAILED(SHGetFolderPathW(NULL, csidl, NULL, 0, userPathString)))
        if(FAILED(SHGetFolderPathW(NULL, csidl | CSIDL_FLAG_CREATE, NULL, 0, userPathString)))
        {
                throw std::runtime_error("Couldn't get path from csidl.");
        }


Powered by WebSVN v1.61