From 19043ce22054309e0800346f2125a52df37c1566 Mon Sep 17 00:00:00 2001 From: Krzysztof Kowalczyk Date: Wed, 25 Oct 2023 01:24:45 +0200 Subject: [PATCH] don't delete a font in NotificationWnd::~NotificationWnd() (for #3799) --- src/Notifications.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Notifications.cpp b/src/Notifications.cpp index 4c18319b8953..dae40a89bf10 100644 --- a/src/Notifications.cpp +++ b/src/Notifications.cpp @@ -166,7 +166,7 @@ NotificationWnd::~NotificationWnd() { auto fontToDelete = font; Destroy(); str::Free(progressMsg); - if (fontToDelete) { + if (false && fontToDelete) { DeleteObject(fontToDelete); } }