Commit e9be7c56 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

win32: Do not try to create cache directory in %USERPROFILE%

Applications should rather store app-specific data in %APPDATA%.
Furthermore %USERPROFILE% is only referenced in a code branch
that would apply to unsupported Windows versions.
parent dd7d9ded
......@@ -261,10 +261,6 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( const char *psz_target )
{
psz_home = getenv( "HOME" );
}
if( psz_home == NULL )
{
psz_home = getenv( "USERPROFILE" );
}
/* Cache our keys in ${HOME}/.dvdcss/ */
if( psz_home )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment