summary refs log tree commit diff stats
path: root/src/common/xchat.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-11 22:41:15 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-11 22:41:15 +0200
commit1f1c76a5d8e4456d844bf19400aca68900e0e878 (patch)
tree1f9d7541ece8a29c4941b386102a749ec571f437 /src/common/xchat.c
parent534cd2802f807e4ca33a8586508619e6a52c3667 (diff)
Initial rebranding in code
Diffstat (limited to 'src/common/xchat.c')
-rw-r--r--src/common/xchat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/xchat.c b/src/common/xchat.c
index 845f262b..0849e234 100644
--- a/src/common/xchat.c
+++ b/src/common/xchat.c
@@ -924,13 +924,13 @@ enum_windows_impl (HWND current_window, LPARAM lParam)
 	}
 
 	GetWindowText (current_window, window_name, 10);
-	if (stricmp (window_name, "xchat-wdk") == 0)
+	if (stricmp (window_name, "hexchat") == 0)
 	{
 		/* use a separate if block, this way we don't have to call GetWindowModuleFileName() for each hit */
 		ZeroMemory (&module_path, sizeof (module_path));
 		GetWindowModuleFileName (current_window, module_path, sizeof (module_path));
 
-		if (strstr (module_path, "xchat.exe"))	/* We've found it, stop */
+		if (strstr (module_path, "hexchat.exe"))	/* We've found it, stop */
 		{
 			xchat_restore_window (current_window);
 			return FALSE;
@@ -972,7 +972,7 @@ main (int argc, char *argv[])
 	{
 		DWORD error;
 
-		mutex = CreateMutex (NULL, TRUE, "Local\xchat");
+		mutex = CreateMutex (NULL, TRUE, "Local\hexchat");
 		error = GetLastError ();
 
 		if (error == ERROR_ALREADY_EXISTS || mutex == NULL)