aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Windows64
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Windows64')
-rw-r--r--Minecraft.Client/Windows64/Windows64_Minecraft.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
index ed6781a3..c36ceee5 100644
--- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
+++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp
@@ -1112,8 +1112,9 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance,
if (g_Win64Username[0] == 0)
{
DWORD sz = 17;
- if (!GetUserNameA(g_Win64Username, &sz))
- strncpy_s(g_Win64Username, 17, "Player", _TRUNCATE);
+ //if (!GetUserNameA(g_Win64Username, &sz))
+ // todo: SET USERNAMES PROPERLY
+ strncpy_s(g_Win64Username, 17, "Player", _TRUNCATE);
g_Win64Username[16] = 0;
}