From e3fe7937351b2ef5384c255699d7e85c5287b1f5 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 24 Sep 2015 17:34:56 +0000 Subject: OTR: - Fixed message display git-svn-id: http://svn.miranda-ng.org/main/trunk@15438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirOTR/src/otr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins') 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: -- cgit v1.2.3