Compare commits

...
+1 -1
View File
@@ -480,7 +480,7 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func
{
int new_path_length;
new_path_length = GetLongPathName(path, NULL, 0);
new_path_length = GetLongPathName(path, NULL, 0) + 1;
if (new_path_length == 0) {
return 1;
}