diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-08-21 16:30:04 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2021-08-21 19:18:28 +0200 |
commit | 0809f456d9e9f8bc480f9cab16cd5b7656185c06 (patch) | |
tree | 0e1f6ec3c934008fbc8a7f310b0fb43d5fb4770a /src | |
parent | fd9412e6ac438b1da5bcbe851182b614deba17a6 (diff) | |
download | VeraCrypt-0809f456d9e9f8bc480f9cab16cd5b7656185c06.tar.gz VeraCrypt-0809f456d9e9f8bc480f9cab16cd5b7656185c06.zip |
Linux/macOS: print LANG environment variable to console only in DEBUG mode
Diffstat (limited to 'src')
-rw-r--r-- | src/Main/Resources.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main/Resources.cpp b/src/Main/Resources.cpp index 6ba63c52..d9a787a5 100644 --- a/src/Main/Resources.cpp +++ b/src/Main/Resources.cpp @@ -70,7 +70,9 @@ namespace VeraCrypt string filename = filenamePrefix + defaultLang + filenamePost; if(const char* env_p = getenv("LANG")){ string lang(env_p); +#ifdef DEBUG std::cout << lang << std::endl; +#endif if ( lang.size() > 1 ){ int found = lang.find("."); if ( found > 1 ){ |