Remove WinAPI locals from XUI scenes

This commit is contained in:
notmatthewbeshay
2026-03-14 07:30:04 +11:00
parent b6d3c0c6ee
commit ce4cb8ea70
5 changed files with 6 additions and 9 deletions

View File

@@ -371,7 +371,7 @@ HRESULT CScene_DLCOffers::GetDLCInfo( int iOfferC, bool bUpdateOnly )
// Bug 49249 - JPN: Code Defect: Missing Text: String 'Minecraft' is missing in contents download screen.
// Looks like we shouldn't be removing this text for Japanese, and probably Chinese & Korean
DWORD dwLanguage = XGetLanguage( );
unsigned int dwLanguage = XGetLanguage();
switch(dwLanguage)
{
case XC_LANGUAGE_KOREAN:
@@ -450,7 +450,6 @@ HRESULT CScene_DLCOffers::GetDLCInfo( int iOfferC, bool bUpdateOnly )
if (dlc != NULL)
{
std::uint8_t *pData=NULL;
UINT uiSize=0;
unsigned int dwSize=0;
WCHAR *cString = dlc->wchBanner;
@@ -703,7 +702,6 @@ HRESULT CScene_DLCOffers::OnNotifySelChanged(HXUIOBJ hObjSource, XUINotifySelCha
if (dlc != NULL)
{
std::uint8_t *pImage=NULL;
UINT uiSize=0;
unsigned int dwSize=0;
WCHAR *cString = dlc->wchBanner;