mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Remove lying comment. We don't rely on on DOS filenames anymore.
This commit is contained in:
parent
8643c843ef
commit
c2525a1e53
2 changed files with 0 additions and 9 deletions
|
@ -467,7 +467,6 @@ Sys_IsFile(const char *path)
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
char *
|
||||
Sys_GetHomeDir(void)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue