mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[MSPAINT] Use correct type for custColors
This commit is contained in:
parent
6f93f2cf10
commit
9879776950
1 changed files with 3 additions and 2 deletions
|
@ -155,7 +155,8 @@ _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR lpszArgument
|
|||
TCHAR ofnFilename[1000];
|
||||
TCHAR ofnFiletitle[256];
|
||||
TCHAR miniaturetitle[100];
|
||||
static int custColors[16] = { 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
|
||||
static COLORREF custColors[16] = {
|
||||
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
|
||||
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff
|
||||
};
|
||||
|
||||
|
@ -329,7 +330,7 @@ _tWinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPTSTR lpszArgument
|
|||
choosecolor.hwndOwner = hwnd;
|
||||
choosecolor.hInstance = NULL;
|
||||
choosecolor.rgbResult = 0x00ffffff;
|
||||
choosecolor.lpCustColors = (COLORREF*) &custColors;
|
||||
choosecolor.lpCustColors = custColors;
|
||||
choosecolor.Flags = 0;
|
||||
choosecolor.lCustData = 0;
|
||||
choosecolor.lpfnHook = NULL;
|
||||
|
|
Loading…
Reference in a new issue