open cmder in the current working dir as every other windows app works (#1725)

open cmder in the current working dir as every other Windows app works
This commit is contained in:
Dax T Games 2018-03-23 17:38:53 -05:00 committed by Benjamin Staneck
parent afb8f52516
commit 19bad7dfa9

View File

@ -208,13 +208,6 @@ void StartCmder(std::wstring path = L"", bool is_single_mode = false, std::wstr
PathCombine(conEmuPath, exeDir, L"vendor\\conemu-maximus5\\ConEmu.exe");
}
if (streqi(cmderStart.c_str(), L""))
{
TCHAR buff[MAX_PATH];
const DWORD ret = GetEnvironmentVariable(L"USERPROFILE", buff, MAX_PATH);
cmderStart = buff;
}
if (is_single_mode)
{
if (!streqi(cmderTask.c_str(), L"")) {