VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-04 18:42:03 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2017-06-05 01:41:44 +0200
commit1ad425e4e19bfef683dfeab7547a0781ec150e44 (patch)
treecaff928ed7057d013159da5fe104101068760026 /src/Common
parentb8786598103d6cf8ffcfde133f3e8651bb7ddc99 (diff)
downloadVeraCrypt-1ad425e4e19bfef683dfeab7547a0781ec150e44.tar.gz
VeraCrypt-1ad425e4e19bfef683dfeab7547a0781ec150e44.zip
Windows: Install CHM User Guide instead of PDF one. Delete existing PDF when upgrading.
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Dlgcode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index e6a609b3..8f59dcf0 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -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");
}
}
}