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
This commit is contained in:
Rajendra Singh 2019-06-26 22:21:27 +05:30 committed by Don HO
parent 34cd6db3be
commit bfd8cd0702
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E

View File

@ -251,7 +251,7 @@ struct CmdLineParamsDTO
int _column2go = 0;
int _pos2go = 0;
LangType _langType;
LangType _langType = L_EXTERNAL;
static CmdLineParamsDTO FromCmdLineParams(const CmdLineParams& params)
{