Fixed no option bug
This commit is contained in:
parent
fcb6c5678a
commit
856d300b9e
Binary file not shown.
2
OnePass/Form1.Designer.cs
generated
2
OnePass/Form1.Designer.cs
generated
@ -257,7 +257,7 @@ namespace OnePass
|
||||
this.MaximumSize = new System.Drawing.Size(396, 219);
|
||||
this.MinimumSize = new System.Drawing.Size(396, 219);
|
||||
this.Name = "Form1";
|
||||
this.Text = "OnePass V1.1";
|
||||
this.Text = "OnePass V1.2";
|
||||
((System.ComponentModel.ISupportInitialize)(this.passCycle)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.passLength)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@ -124,6 +124,11 @@ namespace OnePass
|
||||
addLower(ref chars);
|
||||
if (uAtoZ.BackColor == System.Drawing.SystemColors.Highlight)
|
||||
addUpper(ref chars);
|
||||
if (chars.Count == 0)
|
||||
{
|
||||
MessageBox.Show("Must have at least one option turned on to generate a password!");
|
||||
return;
|
||||
}
|
||||
byte[] sn_bytes = Encoding.ASCII.GetBytes(sitename.Text);
|
||||
byte[] un_bytes = Encoding.ASCII.GetBytes(username.Text);
|
||||
byte[] mp_bytes = Encoding.ASCII.GetBytes(masterpass.Text);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user