From 9a9aa08faf66d05ac8b5e46ef62ead8d85634ef1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 5 Nov 2023 19:27:14 +0300 Subject: =?UTF-8?q?fixes=20#3809=20(Popup+:=20=D0=B8=D0=B3=D0=BD=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D1=80=D1=83=D1=8E=D1=82=D1=81=D1=8F=20=D0=BD=D0=B0?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B8=20=D1=86=D0=B2=D0=B5?= =?UTF-8?q?=D1=82=D0=BE=D0=B2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/Popup/src/notifications.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/Popup/src') diff --git a/plugins/Popup/src/notifications.cpp b/plugins/Popup/src/notifications.cpp index 8476c85fa9..cafebe3921 100644 --- a/plugins/Popup/src/notifications.cpp +++ b/plugins/Popup/src/notifications.cpp @@ -228,9 +228,8 @@ void FillNotificationData(POPUPDATA2 *ppd, uint32_t *disableWhen) LOGFONTA lf; // dummy to make FS happy (use LOGFONTA coz we use MS_FONT_GET) CMStringA szGroup(FORMAT, PU_FNT_AND_COLOR"/%s", ptd->notification.lpzGroup); - CMStringA szName(FORMAT, "%s (colors only)", ptd->notification.lpzName); - ppd->colorText = Font_Get(szGroup, szName, &lf); - ppd->colorBack = Colour_Get(szGroup, szName); + ppd->colorText = Font_Get(szGroup, ptd->notification.lpzName, &lf); + ppd->colorBack = Colour_Get(szGroup, ptd->notification.lpzName); ppd->lchIcon = IcoLib_GetIconByHandle(ptd->hIcoLib); } -- cgit v1.2.3