1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added parameter usage to cygwin notify

This commit is contained in:
James Booth 2012-12-12 00:30:31 +00:00
parent d212a93e44
commit 5486b4348f

View File

@ -1706,8 +1706,8 @@ _notify(const char * const message, int timeout,
// For a Ballon Tip // For a Ballon Tip
nid.uFlags = NIF_INFO; nid.uFlags = NIF_INFO;
strcpy(nid.szInfoTitle, "Profanity"); // Title strcpy(nid.szInfoTitle, "Profanity"); // Title
strcpy(nid.szInfo, "New something!" ); // Copy Tip strcpy(nid.szInfo, message); // Copy Tip
nid.uTimeout = 3000; // 3 Seconds nid.uTimeout = timeout; // 3 Seconds
nid.dwInfoFlags = NIIF_INFO; nid.dwInfoFlags = NIIF_INFO;
Shell_NotifyIcon(NIM_MODIFY, &nid); Shell_NotifyIcon(NIM_MODIFY, &nid);