Fixed a compilation warning on winapi.cpp

Fixes #2690

Thanks to @hurtsky, @reymarbc and @keitenai
This commit is contained in:
Lemongrass3110 2017-12-19 08:43:16 +01:00
parent 15e509fedd
commit b9981b2e27

View File

@ -161,7 +161,7 @@ bool IsCurrentUserLocalAdministrator(void){
if (hToken) CloseHandle(hToken);
}
return fReturn;
return fReturn == TRUE;
#else
return false;
#endif