Skip to content

Commit

Permalink
Revert "HACK: advapi32: Use steamuser as Wine username"
Browse files Browse the repository at this point in the history
This reverts commit 159c20a.
  • Loading branch information
aeikum committed Aug 16, 2018
1 parent 0017f5e commit e8b512a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/advapi32/advapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ GetUserNameA( LPSTR lpszName, LPDWORD lpSize )
BOOL WINAPI
GetUserNameW( LPWSTR lpszName, LPDWORD lpSize )
{
const char *name = "steamuser"/*wine_get_user_name()*/;
const char *name = wine_get_user_name();
DWORD i, len = MultiByteToWideChar( CP_UNIXCP, 0, name, -1, NULL, 0 );
LPWSTR backslash;

Expand Down

0 comments on commit e8b512a

Please sign in to comment.