1
0
mirror of https://github.com/moparisthebest/hexchat synced 2025-01-09 04:58:03 -05:00

Windows doesn't seem to like the hexchat mutex, stops working after some time, let's use the old, working one (might be a Win8 bug though)

This commit is contained in:
Berke Viktor 2012-07-15 12:29:17 +02:00
parent b20e8feca2
commit bf98464d2d

View File

@ -972,7 +972,7 @@ main (int argc, char *argv[])
{ {
DWORD error; DWORD error;
mutex = CreateMutex (NULL, TRUE, "Local\hexchat"); mutex = CreateMutex (NULL, TRUE, "Local\xchat");
error = GetLastError (); error = GetLastError ();
if (error == ERROR_ALREADY_EXISTS || mutex == NULL) if (error == ERROR_ALREADY_EXISTS || mutex == NULL)