diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-12-03 00:11:38 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-12-04 13:47:31 +0100 |
commit | a5df5d981a79c5da3913f48e89e4bdbaaec7dc37 (patch) | |
tree | c8c8cbcffc2b7b799e9ee41094d07df70e9aacfd /src | |
parent | dfff9273891e5a91753def02eb73ebf095b21727 (diff) | |
download | VeraCrypt-a5df5d981a79c5da3913f48e89e4bdbaaec7dc37.tar.gz VeraCrypt-a5df5d981a79c5da3913f48e89e4bdbaaec7dc37.zip |
Windows: correct issue in displaying PDF of User Guide.
Diffstat (limited to 'src')
-rw-r--r-- | src/Common/Dlgcode.c | 4 |
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 @@ -2514,9 +2514,9 @@ void InitHelpFileName (void) *lpszTmp = 0; // add null terminating character to prepare for append operations
// Primary file name
if (strcmp (GetPreferredLangId(), "en") == 0
- || GetPreferredLangId() == NULL)
+ || strlen(GetPreferredLangId()) == 0)
{
StringCbCatA (szHelpFile, sizeof(szHelpFile), "VeraCrypt User Guide.pdf");
}
else
@@ -2531,9 +2531,9 @@ void InitHelpFileName (void) if (lpszTmp)
{
++lpszTmp;
*lpszTmp = 0;
- StringCbCopyA (szHelpFile2, sizeof(szHelpFile2), "VeraCrypt User Guide.pdf");
+ StringCbCatA (szHelpFile2, sizeof(szHelpFile2), "VeraCrypt User Guide.pdf");
}
}
}
|