From bd72cce2d9c47e2a62d78eff11c8d2a8e6bd6bbc Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Thu, 16 Feb 2012 18:00:51 +0100 Subject: [PATCH] display WDK version number in X-Tray --- plugins/xtray/xtray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); /***************************************************************************************************************************/