Fixed a compilation warning on winapi.cpp
Fixes #2690 Thanks to @hurtsky, @reymarbc and @keitenai
This commit is contained in:
parent
15e509fedd
commit
b9981b2e27
@ -161,7 +161,7 @@ bool IsCurrentUserLocalAdministrator(void){
|
|||||||
if (hToken) CloseHandle(hToken);
|
if (hToken) CloseHandle(hToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
return fReturn;
|
return fReturn == TRUE;
|
||||||
#else
|
#else
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user