Remove lying comment. We don't rely on on DOS filenames anymore.

This commit is contained in:
Yamagi Burmeister 2018-06-10 09:28:46 +02:00
parent 8643c843ef
commit c2525a1e53
2 changed files with 0 additions and 9 deletions

View file

@ -467,7 +467,6 @@ Sys_IsFile(const char *path)
return false;
}
char *
Sys_GetHomeDir(void)
{

View file

@ -505,14 +505,6 @@ Sys_GetHomeDir(void)
static char gdir[MAX_OSPATH];
WCHAR uprofile[MAX_PATH];
/* The following lines implement a horrible
hack to connect the UTF-16 WinAPI to the
ASCII Quake II. While this should work in
most cases, it'll fail if the "Windows to
DOS filename translation" is switched off.
In that case the function will return NULL
and no homedir is used. */
/* Get the path to "My Documents" directory */
SHGetFolderPathW(NULL, CSIDL_PERSONAL, NULL, 0, uprofile);