mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 07:28:19 +00:00
- Fix MSVC build (patch by Thomas Fabber reverted by me in previous commit)
svn path=/trunk/; revision=55579
This commit is contained in:
parent
4cf1b4adda
commit
edd9177562
2 changed files with 3 additions and 3 deletions
|
@ -3094,7 +3094,7 @@ static HBITMAP ImageList_CreateImage(HDC hdc, HIMAGELIST himl, UINT count)
|
|||
|
||||
if ((ilc >= ILC_COLOR4 && ilc <= ILC_COLOR32) || ilc == ILC_COLOR)
|
||||
{
|
||||
char buffer[FIELD_OFFSET( BITMAPINFO, bmiColors[256] )];
|
||||
char buffer[sizeof(BITMAPINFOHEADER) + 256 * sizeof(RGBQUAD)];
|
||||
BITMAPINFO *bmi = (BITMAPINFO *)buffer;
|
||||
|
||||
TRACE("Creating DIBSection %d x %d, %d Bits per Pixel\n",
|
||||
|
|
|
@ -160,8 +160,8 @@ static const WCHAR themeClass[] = { 'S','c','r','o','l','l','b','a','r',0 };
|
|||
/* empty SYSTEMTIME const */
|
||||
static const SYSTEMTIME st_null;
|
||||
/* valid date limits */
|
||||
static const SYSTEMTIME max_allowed_date = { .wYear = 9999, .wMonth = 12, .wDay = 31 };
|
||||
static const SYSTEMTIME min_allowed_date = { .wYear = 1752, .wMonth = 9, .wDay = 14 };
|
||||
static const SYSTEMTIME max_allowed_date = { /* wYear */ 9999, /* wMonth */ 12, /* wDayOfWeek */ 0, /* wDay */ 31 };
|
||||
static const SYSTEMTIME min_allowed_date = { /* wYear */ 1752, /* wMonth */ 9, /* wDayOfWeek */ 0, /* wDay */ 14 };
|
||||
|
||||
/* Prev/Next buttons */
|
||||
enum nav_direction
|
||||
|
|
Loading…
Reference in a new issue