Commit 306bb436 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: portable build means nothing in WinRT mode

parent cd6bec56
......@@ -87,6 +87,7 @@ static char *config_GetShellDir (int csidl)
static char *config_GetAppDir (void)
{
#if !VLC_WINSTORE_APP
/* if portable directory exists, use it */
TCHAR path[MAX_PATH];
if (GetModuleFileName (NULL, path, MAX_PATH))
......@@ -101,6 +102,7 @@ static char *config_GetAppDir (void)
return FromT (path);
}
}
#endif
char *psz_dir;
char *psz_parent = config_GetShellDir (CSIDL_APPDATA);
......
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