Revert "NULL to nullptr"

This reverts commit 4b4b20a84b.
This commit is contained in:
GabsPuNs
2026-03-21 00:04:26 -04:00
parent 0d0ca31dfc
commit 180b4a117b
69 changed files with 4178 additions and 4176 deletions

View File

@@ -5,7 +5,7 @@
HRESULT CXuiControl4JComboBox::OnInit(XUIMessageInit *pInitData, BOOL& bHandled)
{
m_ListData.nItems=0;
m_ListData.pItems=nullptr;
m_ListData.pItems=NULL;
return S_OK;
}
@@ -25,7 +25,7 @@ void CXuiControl4JComboBox::SetData(LIST_ITEM_INFO *pItems,int iCount)
int CXuiControl4JComboBox::GetSelectedIndex()
{
return XuiListGetCurSel(GetListObject(),nullptr);
return XuiListGetCurSel(GetListObject(),NULL);
}
// Gets called every frame
@@ -55,7 +55,7 @@ HRESULT CXuiControl4JComboBox::OnGetSourceDataImage(XUIMessageGetSourceImage *pG
//{
// // Check for a brush
// if(m_ListData.pItems[pGetSourceImageData->iItem].hXuiBrush!=nullptr)
// if(m_ListData.pItems[pGetSourceImageData->iItem].hXuiBrush!=NULL)
// {
// pGetSourceImageData->hBrush=m_ListData.pItems[pGetSourceImageData->iItem].hXuiBrush;
// }
@@ -71,7 +71,7 @@ HRESULT CXuiControl4JComboBox::OnGetSourceDataImage(XUIMessageGetSourceImage *pG
HRESULT CXuiControl4JComboBox::OnGetItemEnable(XUIMessageGetItemEnable *pGetItemEnableData,BOOL& bHandled)
{
if(m_ListData.pItems!=nullptr && m_ListData.nItems!=0)
if(m_ListData.pItems!=NULL && m_ListData.nItems!=0)
{
pGetItemEnableData->bEnabled =
m_ListData.pItems[pGetItemEnableData->iItem].fEnabled;