mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[MSPAINT] Set CC_RGBINIT to CMainWindow::ChooseColor
It had failed to set initial color. CORE-18867
This commit is contained in:
parent
cb245ff711
commit
0087ea6597
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ BOOL CMainWindow::ChooseColor(IN OUT COLORREF *prgbColor)
|
||||||
choosecolor.lpCustColors = custColors;
|
choosecolor.lpCustColors = custColors;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
choosecolor.Flags = CC_RGBINIT;
|
||||||
choosecolor.rgbResult = *prgbColor;
|
choosecolor.rgbResult = *prgbColor;
|
||||||
if (!::ChooseColor(&choosecolor))
|
if (!::ChooseColor(&choosecolor))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue