summaryrefslogtreecommitdiff
path: root/plugins/Popup/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-11-05 19:27:14 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-11-05 19:27:18 +0300
commit9a9aa08faf66d05ac8b5e46ef62ead8d85634ef1 (patch)
tree398a5f9bb2c9a7cbacf55b7a13613c70c447bec9 /plugins/Popup/src
parent423664e3244ffb61029099b619081b994f33db2d (diff)
fixes #3809 (Popup+: игнорируются настройки цветов)
Diffstat (limited to 'plugins/Popup/src')
-rw-r--r--plugins/Popup/src/notifications.cpp5
1 files changed, 2 insertions, 3 deletions
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);
}