Skip to content

Commit ea3a966

Browse files
pkwasnie-inteligcbot
authored andcommitted
mark non-default regkeys in tests
Mark non-default regkeys in tests.
1 parent 12d279e commit ea3a966

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

IGC/common/igc_regkeys.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,6 +1223,8 @@ static void LoadFromRegKeyOrEnvVarOrOptions(
12231223
}
12241224
}
12251225
memcpy_s(pRegKeyVariable[i].m_string, sizeof(valueFromOptions), valueFromOptions, sizeof(valueFromOptions));
1226+
pRegKeyVariable[i].Set();
1227+
checkAndSetIfKeyHasNoDefaultValue(&pRegKeyVariable[i]);
12261228
}
12271229
else if (found > 0 && options[found - 1] != ' ' && options[found - 1] != ',')
12281230
{

0 commit comments

Comments
 (0)