Commit 886d8048 authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

comdlg32: fontdlg: Respect the CF_NOSCRIPTSEL flag.

parent 684a121a
...@@ -621,6 +621,8 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam, ...@@ -621,6 +621,8 @@ LRESULT CFn_WMInitDialog(HWND hDlg, WPARAM wParam, LPARAM lParam,
ShowWindow(GetDlgItem(hDlg,pshHelp),SW_HIDE); ShowWindow(GetDlgItem(hDlg,pshHelp),SW_HIDE);
if (!(lpcf->Flags & CF_APPLY)) if (!(lpcf->Flags & CF_APPLY))
ShowWindow(GetDlgItem(hDlg,psh3),SW_HIDE); ShowWindow(GetDlgItem(hDlg,psh3),SW_HIDE);
if (lpcf->Flags & CF_NOSCRIPTSEL)
EnableWindow(GetDlgItem(hDlg,cmb5),FALSE);
if (lpcf->Flags & CF_EFFECTS) if (lpcf->Flags & CF_EFFECTS)
{ {
for (i=0;i<TEXT_COLORS;i++) for (i=0;i<TEXT_COLORS;i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment