Michael Karcher : winex11: Made local constant static.
Alexandre Julliard
julliard at winehq.org
Thu Jul 3 06:35:09 CDT 2008
Module: wine
Branch: master
Commit: 3d95f5e1c60556efc082fd4802f66a32ec3ca0d9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3d95f5e1c60556efc082fd4802f66a32ec3ca0d9
Author: Michael Karcher <wine at mkarcher.dialup.fu-berlin.de>
Date: Wed Jul 2 20:17:23 2008 +0200
winex11: Made local constant static.
---
dlls/winex11.drv/dib.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c
index 8988428..b816601 100644
--- a/dlls/winex11.drv/dib.c
+++ b/dlls/winex11.drv/dib.c
@@ -4031,8 +4031,8 @@ INT X11DRV_GetDIBits( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, UINT startscan,
int bitmap_type;
BOOL core_header;
void* colorPtr;
- const PALETTEENTRY peBlack = {0,0,0,0};
- const PALETTEENTRY peWhite = {255,255,255,0};
+ static const PALETTEENTRY peBlack = {0,0,0,0};
+ static const PALETTEENTRY peWhite = {255,255,255,0};
if (!physBitmap) return 0;
if (!(obj_size = GetObjectW( hbitmap, sizeof(dib), &dib ))) return 0;
More information about the wine-cvs
mailing list