diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Popup/src/notifications.cpp | 5 |
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);
}
|