Use integer locator sizes in XUI scenes
This commit is contained in:
1 parent
eb524ae9b8
commit
b6d3c0c6ee
4 files changed
+7
-7
No files matched your search
@@ -68,7 +68,7 @@ HRESULT CScene_Main::OnInit( XUIMessageInit* pInitData, BOOL& bHandled )
|
||||
CXuiSceneBase::ShowBackground( DEFAULT_XUI_MENU_USER, TRUE );
|
||||
CXuiSceneBase::ShowLogo( DEFAULT_XUI_MENU_USER, TRUE );
|
||||
|
||||
const DWORD LOCATOR_SIZE = 256; // Use this to allocate space to hold a ResourceLocator string
|
||||
constexpr int LOCATOR_SIZE = 256; // Use this to allocate space to hold a ResourceLocator string
|
||||
WCHAR szResourceLocator[ LOCATOR_SIZE ];
|
||||
|
||||
// load from the .xzp file
|
||||
@@ -1291,4 +1291,4 @@ HRESULT CScene_Main::OnTimer( XUIMessageTimer *pTimer, BOOL& bHandled )
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user