* 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:
Tony J. White = 2006-09-13 23:52:54 +00:00
parent 307a4c037a
commit ea0f646068
2 changed files with 16 additions and 17 deletions

View file

@ -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 ) ) )
{