changeset 31146:2c29fe4757a2

Allowed pidgin on windows to properly handle combined arguments (i.e. "-dm" as opposed to "-d -m")
author morshed.nader@gmail.com
date Thu, 13 Jan 2011 08:24:28 +0000
parents cc282e31e5c8
children 28b328da7269 84e9eb0ae4d5
files pidgin/win32/winpidgin.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/win32/winpidgin.c	Wed Jan 12 14:32:20 2011 +0000
+++ b/pidgin/win32/winpidgin.c	Thu Jan 13 08:24:28 2011 +0000
@@ -632,11 +632,11 @@
 			} else {
 				if (strchr(__argv[i], 'd'))
 					debug = TRUE;
-				else if (strchr(__argv[i], 'h'))
+				if (strchr(__argv[i], 'h'))
 					help = TRUE;
-				else if (strchr(__argv[i], 'v'))
+				if (strchr(__argv[i], 'v'))
 					version = TRUE;
-				else if (strchr(__argv[i], 'm'))
+				if (strchr(__argv[i], 'm'))
 					multiple = TRUE;
 			}
 		}