cmd.exe: Remove redundant call to SetConsoleMode.

This commit is contained in:
Hugh McMaster 2015-05-07 22:36:52 +10:00 committed by Alexandre Julliard
parent faad187e70
commit 27753f2ea6

View File

@ -2593,8 +2593,6 @@ int wmain (int argc, WCHAR *argvW[])
return errorlevel;
}
SetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), ENABLE_LINE_INPUT |
ENABLE_ECHO_INPUT | ENABLE_PROCESSED_INPUT);
SetConsoleTitleW(WCMD_LoadMessage(WCMD_CONSTITLE));
/* Note: cmd.exe /c dir does not get a new color, /k dir does */