mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fix mistake in f9e4230
This commit is contained in:
parent
f9e4230ddd
commit
c171a31d9d
@ -309,7 +309,7 @@ void CTrayWindow::ShowNotification(TRAY_NOTIFICATION id, const WCHAR* title, con
|
|||||||
wcsncpy_s(nid.szInfoTitle, title, _TRUNCATE);
|
wcsncpy_s(nid.szInfoTitle, title, _TRUNCATE);
|
||||||
wcsncpy_s(nid.szInfo, text, _TRUNCATE);
|
wcsncpy_s(nid.szInfo, text, _TRUNCATE);
|
||||||
|
|
||||||
if (Platform::IsAtLeastWinVista())
|
if (Platform::IsAtLeastWin7())
|
||||||
{
|
{
|
||||||
nid.dwInfoFlags |= NIIF_LARGE_ICON;
|
nid.dwInfoFlags |= NIIF_LARGE_ICON;
|
||||||
nid.hBalloonIcon = GetIcon(IDI_RAINMETER, true);
|
nid.hBalloonIcon = GetIcon(IDI_RAINMETER, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user