summaryrefslogtreecommitdiff
path: root/alf/alflayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alflayout.cpp')
-rw-r--r--alf/alflayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alflayout.cpp b/alf/alflayout.cpp
index caf9857..cb89965 100644
--- a/alf/alflayout.cpp
+++ b/alf/alflayout.cpp
@@ -28,7 +28,7 @@ ALF_ApplyFontForWidget(ALFWidgetPriv *widget, const ALFWindowFonts *fonts)
// least the commctl32 V5 static control doesn't do it.
InvalidateRect(widget->hwnd, NULL, TRUE);
}
- if ((widget->flags & ALF_ALLFONTS) == ALF_ALLFONTS) {
+ if (widget->flags & ALF_SENDAPPLYFONTS) {
SendMessage(widget->hwnd, ALF_WM_APPLYFONTS, 0, (LPARAM)fonts);
}
}