Fix a bug

This commit is contained in:
Tindy X authored and GitHub committed 2020-02-02 00:37:02 -06:00
1 parent e78bb6df47
commit fd5a74ec93
1 file changed
+1 -1
+1 -1
View File
@@ -66,7 +66,7 @@ void setcd(std::string &file)
if(!retVal)
return;
#else
char *ret = realpath(file.data(), &szTemp);
char *ret = realpath(file.data(), szTemp);
if(ret == NULL)
return;
#endif // _WIN32