mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-17 03:00:19 +00:00
Disable one instance code coz it's really buggy
This commit is contained in:
@@ -909,7 +909,7 @@ hexchat_execv (char * const argv[])
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef WIN32
|
||||
#if 0 /* def WIN32 */
|
||||
static void
|
||||
xchat_restore_window (HWND hexchat_window)
|
||||
{
|
||||
@@ -957,7 +957,7 @@ main (int argc, char *argv[])
|
||||
|
||||
#ifdef WIN32
|
||||
char hexchat_lang[13]; /* LC_ALL= plus 5 chars of hex_gui_lang and trailing \0 */
|
||||
HANDLE mutex;
|
||||
/* HANDLE mutex; */
|
||||
#endif
|
||||
|
||||
srand (time (0)); /* CL: do this only once! */
|
||||
@@ -1159,6 +1159,7 @@ main (int argc, char *argv[])
|
||||
|
||||
putenv (hexchat_lang);
|
||||
|
||||
#if 0
|
||||
if (prefs.hex_gui_single && !portable_mode ())
|
||||
{
|
||||
DWORD error;
|
||||
@@ -1184,6 +1185,7 @@ main (int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef SOCKS
|
||||
SOCKSinit (argv[0]);
|
||||
@@ -1223,11 +1225,13 @@ main (int argc, char *argv[])
|
||||
#ifdef WIN32
|
||||
WSACleanup ();
|
||||
|
||||
#if 0
|
||||
if (prefs.hex_gui_single && !portable_mode ())
|
||||
{
|
||||
ReleaseMutex (mutex);
|
||||
CloseHandle (mutex);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user