diff --git a/reactos/base/applications/fontview/fontview.c b/reactos/base/applications/fontview/fontview.c index 16adf374c83..fd3f844c7fa 100644 --- a/reactos/base/applications/fontview/fontview.c +++ b/reactos/base/applications/fontview/fontview.c @@ -197,12 +197,12 @@ WinMain (HINSTANCE hThisInstance, wincl.cbClsExtra = 0; wincl.cbWndExtra = 0; wincl.hInstance = hThisInstance; - wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION); + wincl.hIcon = LoadIcon (GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_TT)); wincl.hCursor = LoadCursor (NULL, IDC_ARROW); wincl.hbrBackground = (HBRUSH)COLOR_BACKGROUND; wincl.lpszMenuName = NULL; wincl.lpszClassName = g_szFontViewClassName; - wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION); + wincl.hIconSm = LoadIcon (GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_TT)); /* Register the window class, and if it fails quit the program */ if (!RegisterClassExW (&wincl)) diff --git a/reactos/base/applications/fontview/resource.h b/reactos/base/applications/fontview/resource.h index d4d6b98b095..417a2899f52 100644 --- a/reactos/base/applications/fontview/resource.h +++ b/reactos/base/applications/fontview/resource.h @@ -13,3 +13,5 @@ #define IDS_CHARSLOWER 700 #define IDS_CHARSUPPER 701 #define IDS_SPECIALCHARS 702 + +#define IDI_TT 800