diff options
author | Alexander Gluzsky <sss123next@list.ru> | 2016-05-16 16:10:20 +0000 |
---|---|---|
committer | Alexander Gluzsky <sss123next@list.ru> | 2016-05-16 16:10:20 +0000 |
commit | 9d076ee1769157730f26d93bfda1489791dd47c7 (patch) | |
tree | a5e471851a4b6cfe2ba21ceafd2254320f925e26 /plugins/New_GPG/src/gpg_wrapper.cpp | |
parent | 4bbad2f0985a74f86ecc27d7e95e2ecfcd2d3665 (diff) |
plugins:
new_gpg:
added another LANG* environment variable (required for gpg2)
disabled return code checking (sometimes return error while operation finished succesfully), please do not touch and not remove commented out code.
git-svn-id: http://svn.miranda-ng.org/main/trunk@16835 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/gpg_wrapper.cpp')
-rwxr-xr-x | plugins/New_GPG/src/gpg_wrapper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/New_GPG/src/gpg_wrapper.cpp b/plugins/New_GPG/src/gpg_wrapper.cpp index 626be8d6f8..c979149e2f 100755 --- a/plugins/New_GPG/src/gpg_wrapper.cpp +++ b/plugins/New_GPG/src/gpg_wrapper.cpp @@ -46,6 +46,7 @@ pxResult pxExecute(std::vector<std::wstring> &aargv, string *aoutput, LPDWORD ae std::vector<std::wstring> env; env.push_back(L"LANGUAGE=en@quot"); env.push_back(L"LC_ALL=English"); + env.push_back(L"LANG=C"); argv.push_back(bin_path); TCHAR *home_dir = UniGetContactSettingUtf(NULL, szGPGModuleName, "szHomePath", _T("")); if(mir_tstrlen(home_dir)) //this check are required for first run gpg binary validation |