Enhance default keys search result: '/', '\' and 'x' means respectively A, B and both key(s) found.
This commit is contained in:
parent
3545975303
commit
262e206b0a
1 changed files with 5 additions and 1 deletions
|
@ -301,8 +301,12 @@ int main(int argc, char * const argv[]) {
|
|||
t.sectors[i].foundKeyB = true;
|
||||
}
|
||||
}
|
||||
if ((t.sectors[i].foundKeyA) || (t.sectors[i].foundKeyB)) {
|
||||
if ((t.sectors[i].foundKeyA) && (t.sectors[i].foundKeyB)) {
|
||||
fprintf(stdout, "x");
|
||||
} else if (t.sectors[i].foundKeyA) {
|
||||
fprintf(stdout, "/");
|
||||
} else if (t.sectors[i].foundKeyB) {
|
||||
fprintf(stdout, "\\");
|
||||
} else {
|
||||
fprintf(stdout, ".");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue