mirror of https://github.com/dirtbags/moth.git
Fixed condition in playfair where xx -> XX XX
This commit is contained in:
parent
728152af50
commit
5ee06f79cd
|
@ -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