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-15 14:54:44 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-15 14:54:44 +0200
commitf78acf5eda59b9c392c067e59817478a9baddbfa (patch)
tree27ddc2a0bbe5b45da455f48fb79f4776f34bdae9 /src/common/xchat.c
parent74ad73662658c63bdbf06867c20f71f8649e2492 (diff)
Another supposed fix for tray restoration
Diffstat (limited to 'src/common/xchat.c')
-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)