svn path=/branches/GSoC_2017/rapps/; revision=75240
pSettingsInfo->bLogEnabled = TRUE;
if (SUCCEEDED(SHGetFolderPathW(NULL, CSIDL_PERSONAL, NULL, SHGFP_TYPE_CURRENT, pSettingsInfo->szDownloadDir)))
{
pSettingsInfo->bLogEnabled = TRUE;
if (SUCCEEDED(SHGetFolderPathW(NULL, CSIDL_PERSONAL, NULL, SHGFP_TYPE_CURRENT, pSettingsInfo->szDownloadDir)))
{
- StringCbCatW(pSettingsInfo->szDownloadDir, _countof(pSettingsInfo->szDownloadDir), L"\\RAPPS Downloads");
+ StringCbCatW(pSettingsInfo->szDownloadDir, sizeof(pSettingsInfo->szDownloadDir), L"\\RAPPS Downloads");
}
else
{
ExpandEnvironmentStringsW(L"%SystemDrive%\\RAPPS Downloads",
}
else
{
ExpandEnvironmentStringsW(L"%SystemDrive%\\RAPPS Downloads",
- pSettingsInfo->szDownloadDir, _countof(pSettingsInfo->szDownloadDir));
+ pSettingsInfo->szDownloadDir, sizeof(pSettingsInfo->szDownloadDir));
}
pSettingsInfo->bDelInstaller = FALSE;
}
pSettingsInfo->bDelInstaller = FALSE;