Bug 2813
* reverted my recent win95, win98, winme homepath change. it turns out these systems can be configured to have multiple user directories afterall
This commit is contained in:
parent
307a4c037a
commit
ea0f646068
2 changed files with 16 additions and 17 deletions
|
@ -288,14 +288,6 @@ char *Sys_DefaultHomePath(void) {
|
|||
TCHAR szPath[MAX_PATH];
|
||||
static char path[MAX_OSPATH];
|
||||
|
||||
// do not bother using a seperate home directory on versions of
|
||||
// windows that do not offer true per-user home directories
|
||||
// (win98, win95, winme)
|
||||
g_wv.osversion.dwOSVersionInfoSize = sizeof( g_wv.osversion );
|
||||
GetVersionEx( &g_wv.osversion );
|
||||
if( g_wv.osversion.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS )
|
||||
return NULL;
|
||||
|
||||
if( !SUCCEEDED( SHGetFolderPath( NULL, CSIDL_APPDATA,
|
||||
NULL, 0, szPath ) ) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue