win32: return correct variable

This commit is contained in:
OV2 2017-06-30 20:31:18 +02:00
parent fe6047213b
commit 4f457f0c89
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ const TCHAR *S9xGetDirectoryT (enum s9x_getdirtype dirtype)
TCHAR temp_container[PATH_MAX];
_sntprintf(temp_container, PATH_MAX, TEXT("%s\\%s"), startDirectory, rv);
GetFullPathName(temp_container, PATH_MAX, filename, NULL);
rv = temp_container;
rv = filename;
}
_tmkdir(rv);