changeset 18520:850cccc126ad

Make the win32 launcher support "--multiple" as well as %PIDGIN_MULTI_INST%
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 13 Jul 2007 13:57:59 +0000
parents 15f0c935e699
children c36b62c6e0b3
files pidgin/win32/winpidgin.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/win32/winpidgin.c	Fri Jul 13 12:31:53 2007 +0000
+++ b/pidgin/win32/winpidgin.c	Fri Jul 13 13:57:59 2007 +0000
@@ -586,8 +586,8 @@
 		dll_prep();
 
 	winpidgin_set_locale();
-	/* If help or version flag used, do not check Mutex */
-	if (!strstr(lpszCmdLine, "-h") && !strstr(lpszCmdLine, "-v"))
+	/* If help, version or multiple flag used, do not check Mutex */
+	if (!strstr(lpszCmdLine, "-h") && !strstr(lpszCmdLine, "-v") && !strstr(lpszCmdLine, "-m"))
 		if (!getenv("PIDGIN_MULTI_INST") && !winpidgin_set_running())
 			return 0;