Merge pull request #4 from cremno/master

Unescaped backslash in mutex object name
This commit is contained in:
bviktor 2012-07-15 15:39:27 -07:00
commit eecc005901
1 changed files with 1 additions and 1 deletions

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\\hexchat");
error = GetLastError (); error = GetLastError ();
if (error == ERROR_ALREADY_EXISTS || mutex == NULL) if (error == ERROR_ALREADY_EXISTS || mutex == NULL)