diff options
author | watcherhd <watcherhd@gmail.com> | 2017-05-15 12:25:31 +0300 |
---|---|---|
committer | watcherhd <watcherhd@gmail.com> | 2017-05-15 12:25:31 +0300 |
commit | 99421da57199a971d40a51657a447df0419ba638 (patch) | |
tree | aab99cdae64536637b5ff3930725b3bebf1258f7 | |
parent | 4ab4daa9b3d1d2b2ce90ec1ac1a39511d2e8d28f (diff) |
compilation fix
-rwxr-xr-x | protocols/JabberG/src/jabber_omemo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_omemo.cpp b/protocols/JabberG/src/jabber_omemo.cpp index a25edbe624..07f280bc1b 100755 --- a/protocols/JabberG/src/jabber_omemo.cpp +++ b/protocols/JabberG/src/jabber_omemo.cpp @@ -1423,9 +1423,9 @@ namespace omemo { fp_trusted = true;
if (val == -1)
{
- const size_t msg_len = strlen(Translate("Do you want to create OMEMO session with new device:")) + strlen("\n\n\t") + strlen(fp_str) + 1;
+ const size_t msg_len = strlen(Translate("Do you want to create OMEMO session with new device:")) + strlen("\n\n\t") + strlen(fingerprint) + 1;
char *msg = (char*)mir_alloc(msg_len);
- mir_snprintf(msg, msg_len, "%s%s%s", Translate("Do you want to create OMEMO session with new device:"), "\n\n\t", fp_str);
+ mir_snprintf(msg, msg_len, "%s%s%s", Translate("Do you want to create OMEMO session with new device:"), "\n\n\t", fingerprint);
int ret = MessageBoxA(NULL, msg, Translate("OMEMO: New session"), MB_YESNO);
if (ret == IDYES)
|