Skip to content

Commit

Permalink
Merge 23962c9 into f06313e
Browse files Browse the repository at this point in the history
  • Loading branch information
ahippo committed Aug 5, 2018
2 parents f06313e + 23962c9 commit 7dd1ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pass.cpp
Expand Up @@ -66,7 +66,7 @@ QString Pass::Generate_b(unsigned int length, const QString &charset) {
// --secure goes first as it overrides --no-* otherwise
QStringList args;
args.append("-1");
if (QtPassSettings::isLessRandom())
if (!QtPassSettings::isLessRandom())
args.append("--secure");
args.append(QtPassSettings::isAvoidCapitals() ? "--no-capitalize"
: "--capitalize");
Expand Down

0 comments on commit 7dd1ec2

Please sign in to comment.