Index: reactos/base/applications/notepad/settings.c =================================================================== --- reactos/base/applications/notepad/settings.c (revision 74227) +++ reactos/base/applications/notepad/settings.c (working copy) @@ -4,6 +4,7 @@ * Copyright 1998,99 Marcel Baur * Copyright 2002 Sylvain Petreolle * Copyright 2002 Andriy Palamarchuk + * Copyright 2017 Katayama Hirofumi MZ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -170,18 +171,18 @@ else { /* If no settings are found in the registry, then use default values */ - Globals.lfFont.lfCharSet = 163; - Globals.lfFont.lfClipPrecision = 2; + Globals.lfFont.lfCharSet = DEFAULT_CHARSET; + Globals.lfFont.lfClipPrecision = CLIP_DEFAULT_PRECIS; Globals.lfFont.lfEscapement = 0; _tcscpy(Globals.lfFont.lfFaceName, _T("Lucida Console")); - Globals.lfFont.lfItalic = 0; + Globals.lfFont.lfItalic = FALSE; Globals.lfFont.lfOrientation = 0; - Globals.lfFont.lfOutPrecision = 3; - Globals.lfFont.lfPitchAndFamily = 34; - Globals.lfFont.lfQuality = 1; - Globals.lfFont.lfStrikeOut = 0; - Globals.lfFont.lfUnderline = 0; - Globals.lfFont.lfWeight = 400; + Globals.lfFont.lfOutPrecision = OUT_DEFAULT_PRECIS; + Globals.lfFont.lfPitchAndFamily = FIXED_PITCH | FF_MODERN; + Globals.lfFont.lfQuality = DEFAULT_QUALITY; + Globals.lfFont.lfStrikeOut = FALSE; + Globals.lfFont.lfUnderline = FALSE; + Globals.lfFont.lfWeight = FW_NORMAL; Globals.lfFont.lfHeight = HeightFromPointSize(100); }