mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +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.Flags = CC_RGBINIT;
|
||||
choosecolor.rgbResult = *prgbColor;
|
||||
if (!::ChooseColor(&choosecolor))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue