Skip to content

Commit 04ad93d

Browse files
Merge pull request #4582 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main)
2 parents 2960820 + 9f9fff2 commit 04ad93d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/mfc/reference/cmfcpropertygridproperty-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ virtual void SetValue(const _variant_t& varValue);
14391439
void SetPropBarValue(UINT propId, const DWORD& barPropDwordValue)
14401440
{
14411441
auto property = propertiesGridCtrlList.FindItemByData(propId);
1442-
if (property != NULL)
1442+
if (property != nullptr)
14431443
{
14441444
property->SetValue(static_cast<_variant_t >(barPropDwordValue == 1)); // set value to true or false depending on dword value
14451445
}

0 commit comments

Comments
 (0)