Skip to content

Commit 7b6e000

Browse files
committed
Fixed bug where utils.fontpicker would ignore supplied colour
1 parent eac15c8 commit 7b6e000

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripting/lua_utils.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,8 @@ CDC dc;
803803
NULL,
804804
&Frame);
805805

806+
dlg.m_cf.rgbColors = fontcolour;
807+
806808
if (dlg.DoModal () != IDOK)
807809
{
808810
lua_pushnil (L);

0 commit comments

Comments
 (0)