Fix mistake in f9e4230

This commit is contained in:
Birunthan Mohanathas 2013-03-12 17:57:18 +02:00
parent f9e4230ddd
commit c171a31d9d

View File

@ -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);