From 5486b4348f5dae1ab272db529e880517c499ebc6 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 12 Dec 2012 00:30:31 +0000 Subject: [PATCH] Added parameter usage to cygwin notify --- src/windows.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/windows.c b/src/windows.c index 69d45865..f0276a6e 100644 --- a/src/windows.c +++ b/src/windows.c @@ -1706,8 +1706,8 @@ _notify(const char * const message, int timeout, // For a Ballon Tip nid.uFlags = NIF_INFO; strcpy(nid.szInfoTitle, "Profanity"); // Title - strcpy(nid.szInfo, "New something!" ); // Copy Tip - nid.uTimeout = 3000; // 3 Seconds + strcpy(nid.szInfo, message); // Copy Tip + nid.uTimeout = timeout; // 3 Seconds nid.dwInfoFlags = NIIF_INFO; Shell_NotifyIcon(NIM_MODIFY, &nid);