From eebf0bb10826ae532eb4e9bf2a56d1b8eaf7aed8 Mon Sep 17 00:00:00 2001 From: rc-swag <58423624+rc-swag@users.noreply.github.com> Date: Thu, 23 Jan 2025 09:54:36 +1000 Subject: [PATCH] fix(windows): Apply suggestions from code review Co-authored-by: Marc Durdin --- .../kmshell/main/Keyman.System.UpdateStateMachine.pas | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/windows/src/desktop/kmshell/main/Keyman.System.UpdateStateMachine.pas b/windows/src/desktop/kmshell/main/Keyman.System.UpdateStateMachine.pas index 407765d8fd..34986cf238 100644 --- a/windows/src/desktop/kmshell/main/Keyman.System.UpdateStateMachine.pas +++ b/windows/src/desktop/kmshell/main/Keyman.System.UpdateStateMachine.pas @@ -1005,11 +1005,11 @@ begin FPackage.Install2(True); Result := True; except - on E: Exception do - begin - TKeymanSentryClient.ReportHandledException(E, - 'Failed to install keyboard package'); - end; + on E:Exception do + begin + TKeymanSentryClient.ReportHandledException(E, + 'Failed to install keyboard package'); + end; end; FPackage := nil;