diff --git a/common/common.cpp b/common/common.cpp index b25dadc..d6533fd 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -295,11 +295,9 @@ string GetCanonicalizePath(const char *szPath) #if defined(WINDOWS) - if (NULL != _fullpath((char *)"./", path, PATH_BUFFER_LENGTH)) + if (NULL != _fullpath(path, szPath, PATH_BUFFER_LENGTH)) { strPath = path; - strPath += "/"; - strPath += szPath; } #else if (NULL != realpath("./", path))