summary refs log tree commit diff stats
path: root/plugins/xtray/callbacks.cpp
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-08-16 12:56:03 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-08-16 12:56:03 +0200
commit3a8d4f91e500d8706e090463db3b4bf66eb6f6b5 (patch)
tree727b0424519d6db44953423ea6c4a565efdeadc8 /plugins/xtray/callbacks.cpp
parentd1029ab4eca2c67914fbcefc4e64fa5b6f45d8ee (diff)
make xtray builds available and some cosmetics
Diffstat (limited to 'plugins/xtray/callbacks.cpp')
-rw-r--r--plugins/xtray/callbacks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/xtray/callbacks.cpp b/plugins/xtray/callbacks.cpp
index f6533281..e9be49dd 100644
--- a/plugins/xtray/callbacks.cpp
+++ b/plugins/xtray/callbacks.cpp
@@ -44,7 +44,7 @@ BOOL CALLBACK EnumWindowsProc(HWND hWnd, LPARAM lParam)
 	TCHAR szTitle[10];

 	GetWindowText(hWnd, szTitle, 9);

 

-	if(_tcsstr(szTitle, _T("X-Chat [")))

+	if(_tcsstr(szTitle, _T("XChat [")))

 	{

 		g_hXchatWnd = hWnd;

 		return false;

@@ -339,7 +339,7 @@ LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wparam, LPARAM lparam)
 			if(msg == RegisterWindowMessage(_T("TaskbarCreated")))

 			{

 				char szVersion[64];

-				_snprintf(szVersion, 64, "X-Chat [%s]", xchat_get_info(ph, "version"));

+				_snprintf(szVersion, 64, "XChat-WDK [%s]", xchat_get_info(ph, "version"));

 				AddIcon(g_hXchatWnd, 1, g_hIcons[0], szVersion, (NIF_ICON | NIF_MESSAGE | NIF_TIP), WM_TRAYMSG);

 			}

 		}