[MSPAINT][NOTEPAD][REGEDIT] Don't use CRTDBG for these apps (#5788)

Don't include <crtdbg.h>.
Don't use _CrtSetDbgFlag.
This commit is contained in:
Katayama Hirofumi MZ 2023-10-12 22:53:02 +09:00 committed by GitHub
parent 70d5c864bc
commit 9a51c8e6c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 27 deletions

View file

@ -564,11 +564,6 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE prev, LPTSTR cmdline, int sh
static const TCHAR className[] = _T("Notepad");
static const TCHAR winName[] = _T("Notepad");
#ifdef _DEBUG
/* Report any memory leaks on exit */
_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
#endif
switch (GetUserDefaultUILanguage())
{
case MAKELANGID(LANG_HEBREW, SUBLANG_DEFAULT):