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:
parent
b20e8feca2
commit
bf98464d2d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue