diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/src/jabber_omemo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_omemo.cpp b/protocols/JabberG/src/jabber_omemo.cpp index a0836b9639..d2699d37fb 100644 --- a/protocols/JabberG/src/jabber_omemo.cpp +++ b/protocols/JabberG/src/jabber_omemo.cpp @@ -1363,8 +1363,11 @@ complete: if(*p && *(p+1)) p+=2;
for (; *p; p++) {
buf.AppendChar(toupper(*p));
- if (++i % 8 == 0)
+ i++;
+ if (i % 8 == 0)
buf.AppendChar(' ');
+ if (i % 32 == 0)
+ buf.AppendChar('\n');
}
}
|