fix(windows): fix begin end block

This commit is contained in:
rc-swag 2025-03-05 11:16:39 +10:00
parent bbbce44f3c
commit bfd077a3bb

View file

@ -1052,10 +1052,12 @@ begin
try
if OpenKeyReadOnly('\' + SRegKey_KeymanEngine_CU) then
begin
// only update the the flag if the value exists in the registry, otherwise leave them as defaults
// only update the flag if the value exists in the registry, otherwise leave them as defaults
// leave as the the default values
if ValueExists(SRegValue_AutomaticallyReportUsage) then
FAutomaticallyReportUsage := ReadBool(SRegValue_AutomaticallyReportUsage)
begin
FAutomaticallyReportUsage := ReadBool(SRegValue_AutomaticallyReportUsage);
end;
if ValueExists(SRegValue_CheckForUpdates) then
begin
FCheckForUpdates := ReadBool(SRegValue_CheckForUpdates);