Use standard wide strings in credit text

This commit is contained in:
notmatthewbeshay 2026-03-11 01:24:47 +11:00
parent 828ab5e277
commit 015fce0b3a
2 changed files with 2 additions and 2 deletions

View file

@ -7240,7 +7240,7 @@ void CMinecraftApp::RemoveLevelFromBannedLevelList(int iPad, PlayerUID xuid, cha
}
// function to add credits for the DLC packs
void CMinecraftApp::AddCreditText(LPCWSTR lpStr)
void CMinecraftApp::AddCreditText(const wchar_t *lpStr)
{
DebugPrintf("ADDING CREDIT - %ls\n",lpStr);
// add a string from the DLC to a credits vector

View file

@ -364,7 +364,7 @@ public:
void ProcessInvite(DWORD dwUserIndex, DWORD dwLocalUsersMask, const INVITE_INFO * pInviteInfo);
// Add credits for DLC installed
void AddCreditText(LPCWSTR lpStr);
void AddCreditText(const wchar_t *lpStr);
private:
PlayerUID m_xuidNotch;