VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-12-03 00:11:38 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-12-04 13:47:31 +0100
commita5df5d981a79c5da3913f48e89e4bdbaaec7dc37 (patch)
treec8c8cbcffc2b7b799e9ee41094d07df70e9aacfd
parentdfff9273891e5a91753def02eb73ebf095b21727 (diff)
downloadVeraCrypt-a5df5d981a79c5da3913f48e89e4bdbaaec7dc37.tar.gz
VeraCrypt-a5df5d981a79c5da3913f48e89e4bdbaaec7dc37.zip
Windows: correct issue in displaying PDF of User Guide.
-rw-r--r--src/Common/Dlgcode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c
index e0af53fd..e6686c2c 100644
--- a/src/Common/Dlgcode.c
+++ b/src/Common/Dlgcode.c
@@ -2515,7 +2515,7 @@ void InitHelpFileName (void)
// Primary file name
if (strcmp (GetPreferredLangId(), "en") == 0
- || GetPreferredLangId() == NULL)
+ || strlen(GetPreferredLangId()) == 0)
{
StringCbCatA (szHelpFile, sizeof(szHelpFile), "VeraCrypt User Guide.pdf");
}
@@ -2532,7 +2532,7 @@ void InitHelpFileName (void)
{
++lpszTmp;
*lpszTmp = 0;
- StringCbCopyA (szHelpFile2, sizeof(szHelpFile2), "VeraCrypt User Guide.pdf");
+ StringCbCatA (szHelpFile2, sizeof(szHelpFile2), "VeraCrypt User Guide.pdf");
}
}
}