summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/xchat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/xchat.c b/src/common/xchat.c
index 214cc623..776bc78c 100644
--- a/src/common/xchat.c
+++ b/src/common/xchat.c
@@ -924,7 +924,7 @@ enum_windows_impl (HWND current_window, LPARAM lParam)
 	}
 
 	GetWindowText (current_window, window_name, 8);		/* name length + 1 */
-	if (stricmp (window_name, "hexchat") == 0)
+	if (strcmp (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));
@@ -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)