Index: dll/cpl/input/settings_page.c =================================================================== --- dll/cpl/input/settings_page.c (revision 75907) +++ dll/cpl/input/settings_page.c (working copy) @@ -2,7 +2,8 @@ * PROJECT: input.dll * FILE: dll/cpl/input/settings_page.c * PURPOSE: input.dll - * PROGRAMMER: Dmitry Chapyshev (dmitry@reactos.org) + * PROGRAMMERS: Dmitry Chapyshev (dmitry@reactos.org) + * Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com) */ #include "input.h" @@ -39,16 +40,12 @@ if (SystemParametersInfoW(SPI_GETICONTITLELOGFONT, sizeof(lf), &lf, 0)) { ICONINFO IconInfo; - HFONT hFont; + HFONT hFont = CreateFontIndirectW(&lf); - hFont = CreateFontIndirectW(&lf); - if (hFont != NULL) { - HBITMAP hBmpOld; + HBITMAP hBmpOld = SelectObject(hdc, hBitmap); - hBmpOld = SelectObject(hdc, hBitmap); - if (hBmpOld != NULL) { RECT rect; @@ -55,7 +52,7 @@ SetRect(&rect, 0, 0, width / 2, height); - if (bIsDefault != FALSE) + if (bIsDefault) { SetBkColor(hdc, GetSysColor(COLOR_WINDOW)); SetTextColor(hdc, GetSysColor(COLOR_WINDOWTEXT)); @@ -62,8 +59,7 @@ ExtTextOutW(hdc, rect.left, rect.top, ETO_OPAQUE, &rect, L"", 0, NULL); - SelectObject(hdc, hFont); - DrawTextW(hdc, L"\x2022", 1, &rect, DT_SINGLELINE | DT_CENTER | DT_VCENTER); + DrawFrameControl(hdc, &rect, DFC_MENU, DFCS_MENUBULLET); } else {