summaryrefslogtreecommitdiff
path: root/src/modules/options/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options/options.cpp')
-rw-r--r--src/modules/options/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp
index c238f4938e..b8486f7bba 100644
--- a/src/modules/options/options.cpp
+++ b/src/modules/options/options.cpp
@@ -145,8 +145,8 @@ static HTREEITEM FindNamedTreeItemAtChildren(HWND hwndTree, HTREEITEM hItem, con
static BOOL CALLBACK BoldGroupTitlesEnumChildren(HWND hwnd, LPARAM lParam)
{
TCHAR szClass[64];
-
GetClassName(hwnd, szClass, SIZEOF(szClass));
+
if ( !lstrcmp(szClass, _T("Button")) && (GetWindowLongPtr(hwnd, GWL_STYLE)&0x0F) == BS_GROUPBOX)
SendMessage(hwnd, WM_SETFONT, lParam, 0);
return TRUE;