[SYSDM] general.c: Make 2 global variables 'static' (#2060)

And 1 'const' too.

This allows reducing confusion about scope/use.
This commit is contained in:
Serge Gautherie 2020-01-14 18:54:17 +01:00 committed by Hermès BÉLUSCA - MAÏTO
parent 66f6d051eb
commit 8f72618453

View file

@ -28,8 +28,8 @@ typedef struct _IMGINFO
INT iBits;
} IMGINFO, *PIMGINFO;
PIMGINFO pImgInfo = NULL;
BLENDFUNCTION BlendFunc = {AC_SRC_OVER, 0, 255, AC_SRC_ALPHA};
static PIMGINFO pImgInfo;
static const BLENDFUNCTION BlendFunc = {AC_SRC_OVER, 0, 255, AC_SRC_ALPHA};
VOID ShowLastWin32Error(HWND hWndOwner)
{