mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-09 18:05:05 +01:00
engine: common: system: fix inverted COM_CheckStringEmpty in Sys_GetCurrentUser for Vita
Thanks @fgsfdsfgs for pointing out
This commit is contained in:
parent
d085c5a843
commit
33c0764e65
@ -136,7 +136,7 @@ const char *Sys_GetCurrentUser( void )
|
||||
#elif XASH_PSVITA
|
||||
static string username;
|
||||
sceAppUtilSystemParamGetString( SCE_SYSTEM_PARAM_ID_USERNAME, username, sizeof( username ) - 1 );
|
||||
if( !COM_CheckStringEmpty( username ) )
|
||||
if( COM_CheckStringEmpty( username ))
|
||||
return username;
|
||||
#elif XASH_POSIX && !XASH_ANDROID && !XASH_NSWITCH
|
||||
uid_t uid = geteuid();
|
||||
|
Loading…
Reference in New Issue
Block a user