1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Linux/macOS: Fix build error cause by missing conversion

This commit is contained in:
Mounir IDRASSI
2025-05-12 17:30:38 +09:00
parent 5ae263e6e6
commit 009d189768

View File

@@ -1387,7 +1387,7 @@ namespace VeraCrypt
#endif
string preferredLang = LangString.GetPreferredLang();
// Use preferred language only if it has translated documentation
if (!HasTranslatedDocumentation (preferredLang))
if (!HasTranslatedDocumentation (preferredLang.c_str()))
{
preferredLang = "en";
}