mirror of https://github.com/dirtbags/moth.git
Fixed condition in playfair where xx -> XX XX
This commit is contained in:
parent
347153fc42
commit
d1e5ac265b
|
@ -158,7 +158,7 @@ run(char* key) {
|
|||
}
|
||||
} else if (91 <= tmp && tmp <= 122) {
|
||||
if (existing) {
|
||||
if (tmp == buf[0]) {
|
||||
if (tmp == buf[0] && tmp != 'x') {
|
||||
buf[1] = 'x';
|
||||
swapchar(key, buf);
|
||||
printcrap(buf);
|
||||
|
|
Loading…
Reference in New Issue