summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c4
-rw-r--r--src/common/util.h2
-rw-r--r--src/common/xchat.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 27f0aa40..74146b21 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1885,10 +1885,10 @@ portable_mode ()
 }
 
 int
-xtray_mode ()
+hextray_mode ()
 {
 #ifdef WIN32
-	if ((_access( "plugins/xtray.dll", 0 )) != -1)
+	if ((_access( "plugins/hextray.dll", 0 )) != -1)
 	{
 		return 1;
 	}
diff --git a/src/common/util.h b/src/common/util.h
index 82d74366..c2f1e118 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -58,6 +58,6 @@ guint32 str_ihash (const unsigned char *key);
 void safe_strcpy (char *dest, const char *src, int bytes_left);
 void canonalize_key (char *key);
 int portable_mode ();
-int xtray_mode ();
+int hextray_mode ();
 
 #endif
diff --git a/src/common/xchat.c b/src/common/xchat.c
index 1b9fd5a7..da33edbe 100644
--- a/src/common/xchat.c
+++ b/src/common/xchat.c
@@ -981,7 +981,7 @@ main (int argc, char *argv[])
 			 * only works correctly when X-Tray is used, but it's not a big deal
 			 * since you can only minimize XChat to tray via the taskbar if you
 			 * use X-Tray*/
-			if (xtray_mode ())
+			if (hextray_mode ())
 			{
 				/* FindWindow() doesn't support wildcards so we check all the open windows */
 				EnumWindows (enum_windows_impl, NULL);