diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-09-24 17:34:56 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-09-24 17:34:56 +0000 |
commit | e3fe7937351b2ef5384c255699d7e85c5287b1f5 (patch) | |
tree | 6d66026d352be64c6f16cb2bfbbce980ad067000 /plugins/MirOTR/src/otr.cpp | |
parent | 5e734c48c2c1760339efd648a854cb89fd12f107 (diff) |
OTR:
- Fixed message display
git-svn-id: http://svn.miranda-ng.org/main/trunk@15438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirOTR/src/otr.cpp')
-rw-r--r-- | plugins/MirOTR/src/otr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MirOTR/src/otr.cpp b/plugins/MirOTR/src/otr.cpp index 1b6ff83f83..4528bf64e4 100644 --- a/plugins/MirOTR/src/otr.cpp +++ b/plugins/MirOTR/src/otr.cpp @@ -369,8 +369,9 @@ extern "C" { break; } case OTRL_MSGEVENT_RCVDMSG_UNENCRYPTED:{ // title = TranslateT("Received unencrypted message"); + msgfunc = ShowMessageInline; TCHAR* tmp = mir_utf8decodeT(message); - mir_snwprintf(msg, _countof(msg), TranslateT("The following message received from '%s' was NOT encrypted: [%s]"), contact, tmp); + mir_snwprintf(msg, _countof(msg), TranslateT("The following message received from '%s' was NOT encrypted:\n\n%s"), contact, tmp); mir_free(tmp); break; } case OTRL_MSGEVENT_RCVDMSG_FOR_OTHER_INSTANCE: |