summaryrefslogtreecommitdiff
path: root/alf/alfbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alfbutton.cpp')
-rw-r--r--alf/alfbutton.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alfbutton.cpp b/alf/alfbutton.cpp
index 0bb0627..582a90c 100644
--- a/alf/alfbutton.cpp
+++ b/alf/alfbutton.cpp
@@ -508,7 +508,7 @@ ALF_AddButton(HWND win, WORD id, UINT x, UINT y, const TCHAR *text)
p.y = y;
p.width = 0;
p.height = 0;
- p.flags = ALF_QUERYSIZE | ALF_MESSAGEFONT;
+ p.flags = ALF_QUERYSIZE | ALF_INHERITFONT;
ALF_AddWidgetEx(win, &p);