summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Toaster/src/services.cpp')
-rw-r--r--plugins/Toaster/src/services.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index 81d737525a..02a92f24ab 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -30,11 +30,11 @@ void __stdcall ShowToastNotification(void* p)
{
if ((td->hIcon && td->bForcehIcon) || !szProto)
{
- imagePath = SaveHIcon(td->hIcon, CMStringA(FORMAT, "%p", td->hIcon));
+ imagePath = ToasterImage(td->hIcon);
}
else if (szProto)
{
- imagePath = ProtoIcon(szProto);
+ imagePath = ToasterImage(szProto);
}
}
}
@@ -42,7 +42,7 @@ void __stdcall ShowToastNotification(void* p)
{
if (td->hIcon)
{
- imagePath = SaveHIcon(td->hIcon, CMStringA(FORMAT, "%p", td->hIcon));
+ imagePath = ToasterImage(td->hIcon);
}
}