Index: wp-includes/pluggable.php
===================================================================
--- wp-includes/pluggable.php	(revision 13154)
+++ wp-includes/pluggable.php	(working copy)
@@ -1468,11 +1468,11 @@
  **/
 function wp_generate_password( $length = 12, $special_chars = true, $extra_special_chars = false ) {
 	$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
-	if ( $special_chars ) {
+	if ( $special_chars )
 		$chars .= '!@#$%^&*()';
-		if ( $extra_special_chars )
+
+	if ( $extra_special_chars )
 			$chars .= '-_ []{}<>~`+=,.;:/?|';
-	}
 
 	$password = '';
 	for ( $i = 0; $i < $length; $i++ ) {

