summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp

index 75b3c8f2..a9cfde22 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -394,7 +394,7 @@ utils::humanReadableFingerprint(const QString &ed25519) QString fingerprint; for (int i = 0; i < ed25519.length(); i = i + 4) { fingerprint.append(QStringView(ed25519).mid(i, 4)); - if (i > 0 && i % 16 == 12) + if (i > 0 && i == 20) fingerprint.append('\n'); else if (i < ed25519.length()) fingerprint.append(' ');