VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main')
-rw-r--r--src/Main/Resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Resources.cpp b/src/Main/Resources.cpp
index fe2f2c95..32bcd9d2 100644
--- a/src/Main/Resources.cpp
+++ b/src/Main/Resources.cpp
@@ -63,7 +63,7 @@ namespace VeraCrypt
string filenamePrefix("/usr/share/veracrypt/languages/Language.");
string filenamePost(".xml");
string filename = filenamePrefix + defaultLang + filenamePost;
- if(const char* env_p = std::getenv("LANG")){
+ if(const char* env_p = getenv("LANG")){
string lang(env_p);
std::cout << lang << std::endl;
if ( lang.size() > 1 ){