mirror of
https://github.com/cmderdev/cmder.git
synced 2025-03-14 22:54:38 +08:00
cleanup
This commit is contained in:
parent
36ea61930f
commit
9b5be7bd53
@ -290,10 +290,6 @@ void StartCmder(std::wstring path = L"", bool is_single_mode = false, std::wstr
|
|||||||
PathCombine(userCfgPath, userConfigDirPath, L"user-ConEmu.xml");
|
PathCombine(userCfgPath, userConfigDirPath, L"user-ConEmu.xml");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if the user has specified a config file to use
|
|
||||||
// If cpuCfgPath is set and exists, use it.
|
|
||||||
// If userCfgPath is set and exists, use it.
|
|
||||||
|
|
||||||
if (wcscmp(cpuCfgPath, L"") != 0 && (PathFileExists(cpuCfgPath) || use_user_cfg == false)) // config/[host specific terminal emulator config] file exists or /m was specified on command line, use machine specific config.
|
if (wcscmp(cpuCfgPath, L"") != 0 && (PathFileExists(cpuCfgPath) || use_user_cfg == false)) // config/[host specific terminal emulator config] file exists or /m was specified on command line, use machine specific config.
|
||||||
{
|
{
|
||||||
if (cfgRoot.length() == 0) // '/c [path]' was NOT specified
|
if (cfgRoot.length() == 0) // '/c [path]' was NOT specified
|
||||||
|
Loading…
x
Reference in New Issue
Block a user