mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
Windows: Install CHM User Guide instead of PDF one. Delete existing PDF when upgrading.
This commit is contained in:
@@ -3054,11 +3054,11 @@ void InitHelpFileName (void)
|
||||
if (strcmp (GetPreferredLangId(), "en") == 0
|
||||
|| strlen(GetPreferredLangId()) == 0)
|
||||
{
|
||||
StringCbCatW (szHelpFile, sizeof(szHelpFile), L"VeraCrypt User Guide.pdf");
|
||||
StringCbCatW (szHelpFile, sizeof(szHelpFile), L"VeraCrypt User Guide.chm");
|
||||
}
|
||||
else
|
||||
{
|
||||
StringCbPrintfW (szTemp, sizeof(szTemp), L"VeraCrypt User Guide.%S.pdf", GetPreferredLangId());
|
||||
StringCbPrintfW (szTemp, sizeof(szTemp), L"VeraCrypt User Guide.%S.chm", GetPreferredLangId());
|
||||
StringCbCatW (szHelpFile, sizeof(szHelpFile), szTemp);
|
||||
}
|
||||
|
||||
@@ -3069,7 +3069,7 @@ void InitHelpFileName (void)
|
||||
{
|
||||
++lpszTmp;
|
||||
*lpszTmp = 0;
|
||||
StringCbCatW (szHelpFile2, sizeof(szHelpFile2), L"VeraCrypt User Guide.pdf");
|
||||
StringCbCatW (szHelpFile2, sizeof(szHelpFile2), L"VeraCrypt User Guide.chm");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user