summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-02-16 18:00:51 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-02-16 18:00:51 +0100
commitbd72cce2d9c47e2a62d78eff11c8d2a8e6bd6bbc (patch)
tree3e5d4c3284e314bc02135d96c18cfcb6c5bf6e02
parent0f31db81dad336632e5348bd8024b2b70197fa88 (diff)
display WDK version number in X-Tray
-rw-r--r--plugins/xtray/xtray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/xtray/xtray.cpp b/plugins/xtray/xtray.cpp
index 33ce125f..ec5e34f8 100644
--- a/plugins/xtray/xtray.cpp
+++ b/plugins/xtray/xtray.cpp
@@ -116,7 +116,7 @@ int xchat_plugin_init(xchat_plugin *plugin_handle, char **plugin_name, char **pl
 	/************************* Add our icon to the tray ************************************************************************/

 	/***************************************************************************************************************************/

 	char szVersion[64];

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

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

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

 

 	/***************************************************************************************************************************/