From fe4e29e2e3ff4f5c40613d7ffdf4a404d1bdda3b Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sat, 10 Apr 2021 19:18:12 +0200 Subject: [PATCH] Initialize global SystemImageList variable, to fix potential issues in apphelpers.GetSystemImageList --- source/apphelpers.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/apphelpers.pas b/source/apphelpers.pas index b3471b45..0862ab03 100644 --- a/source/apphelpers.pas +++ b/source/apphelpers.pas @@ -379,7 +379,7 @@ type var AppSettings: TAppSettings; MutexHandle: THandle = 0; - SystemImageList: TImageList; + SystemImageList: TImageList = nil; mtCriticalConfirmation: TMsgDlgType = mtCustom; ConfirmIcon: TIcon; NumberChars: TSysCharSet;