From bfd8cd070227ee548e3a9a607edbfe318c18fedb Mon Sep 17 00:00:00 2001 From: Rajendra Singh Date: Wed, 26 Jun 2019 22:21:27 +0530 Subject: [PATCH] Initialize a member value correctly to prevent from crash _langType in CmdLineParamsDTO could not be copied so Initialize its value to prevent from the crash. Close #5838 --- PowerEditor/src/Parameters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerEditor/src/Parameters.h b/PowerEditor/src/Parameters.h index 825e53054..62832a08a 100644 --- a/PowerEditor/src/Parameters.h +++ b/PowerEditor/src/Parameters.h @@ -251,7 +251,7 @@ struct CmdLineParamsDTO int _column2go = 0; int _pos2go = 0; - LangType _langType; + LangType _langType = L_EXTERNAL; static CmdLineParamsDTO FromCmdLineParams(const CmdLineParams& params) {