Merge pull request #4 from cremno/master
Unescaped backslash in mutex object name
This commit is contained in:
commit
eecc005901
|
@ -972,7 +972,7 @@ main (int argc, char *argv[])
|
||||||
{
|
{
|
||||||
DWORD error;
|
DWORD error;
|
||||||
|
|
||||||
mutex = CreateMutex (NULL, TRUE, "Local\hexchat");
|
mutex = CreateMutex (NULL, TRUE, "Local\\hexchat");
|
||||||
error = GetLastError ();
|
error = GetLastError ();
|
||||||
|
|
||||||
if (error == ERROR_ALREADY_EXISTS || mutex == NULL)
|
if (error == ERROR_ALREADY_EXISTS || mutex == NULL)
|
||||||
|
|
Loading…
Reference in New Issue