screenshot-win32-magnification-api.h: Fix coding style

This commit is contained in:
Luca Bacci 2023-01-10 19:57:28 +01:00 committed by Jehan
parent 005b3a05b8
commit e360cef004
1 changed files with 31 additions and 27 deletions

View File

@ -100,20 +100,24 @@ void UnLoadMagnificationLibrary(void);
BOOL LoadMagnificationLibrary (void);
void UnLoadMagnificationLibrary(void)
void
UnLoadMagnificationLibrary (void)
{
if (!magnificationLibrary) return;
if (!magnificationLibrary)
return;
FreeLibrary (magnificationLibrary);
}
BOOL LoadMagnificationLibrary(void)
BOOL
LoadMagnificationLibrary (void)
{
if (magnificationLibrary) return TRUE;
if (magnificationLibrary)
return TRUE;
magnificationLibrary = LoadLibraryW (L"Magnification");
if (!magnificationLibrary) return FALSE;
if (!magnificationLibrary)
return FALSE;
MagInitialize = (MAGINITIALIZE) GetProcAddress (magnificationLibrary, "MagInitialize");
if (!MagInitialize)