winex11: Made local constant static.
This commit is contained in:
parent
9e6a7661d8
commit
3d95f5e1c6
|
@ -4031,8 +4031,8 @@ INT X11DRV_GetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan,
|
||||||
int bitmap_type;
|
int bitmap_type;
|
||||||
BOOL core_header;
|
BOOL core_header;
|
||||||
void* colorPtr;
|
void* colorPtr;
|
||||||
const PALETTEENTRY peBlack = {0,0,0,0};
|
static const PALETTEENTRY peBlack = {0,0,0,0};
|
||||||
const PALETTEENTRY peWhite = {255,255,255,0};
|
static const PALETTEENTRY peWhite = {255,255,255,0};
|
||||||
|
|
||||||
if (!physBitmap) return 0;
|
if (!physBitmap) return 0;
|
||||||
if (!(obj_size = GetObjectW( hbitmap, sizeof(dib), &dib ))) return 0;
|
if (!(obj_size = GetObjectW( hbitmap, sizeof(dib), &dib ))) return 0;
|
||||||
|
|
Loading…
Reference in New Issue