pidgin: 03fc534b: Allowed pidgin on windows to properly ha...

morshed.nader at gmail.com morshed.nader at gmail.com
Thu Jan 13 03:32:04 EST 2011


----------------------------------------------------------------------
Revision: 03fc534b1353dfbeab5d8745896780b4424ab3ed
Parent:   fb0f52d501004e24bf6159f738670cc0ff9fcab4
Author:   morshed.nader at gmail.com
Date:     01/13/11 03:24:28
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/03fc534b1353dfbeab5d8745896780b4424ab3ed

Changelog: 

Allowed pidgin on windows to properly handle combined arguments (i.e. "-dm" as opposed to "-d -m")

Changes against parent fb0f52d501004e24bf6159f738670cc0ff9fcab4

  patched  pidgin/win32/winpidgin.c

-------------- next part --------------
============================================================
--- pidgin/win32/winpidgin.c	b17aad9cc2ed8bfa7566c950fcd9fd38c18bd0fa
+++ pidgin/win32/winpidgin.c	311ac5dd549efd89b221d8325ed7ebeaa306641b
@@ -632,11 +632,11 @@ WinMain (struct HINSTANCE__ *hInstance, 
 			} 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;
 			}
 		}


More information about the Commits mailing list