From 423be683866fd8e305457eb725d8cdbe1f297fbd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Feb 2019 12:43:20 +0300 Subject: popup code cleaning (cause we have no tchar.h) --- plugins/MirFox/src/MirandaUtils.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/MirFox/src') diff --git a/plugins/MirFox/src/MirandaUtils.cpp b/plugins/MirFox/src/MirandaUtils.cpp index e786c2fb00..5f829db480 100644 --- a/plugins/MirFox/src/MirandaUtils.cpp +++ b/plugins/MirFox/src/MirandaUtils.cpp @@ -207,9 +207,9 @@ void MirandaUtils::sendMessage(ActionThreadArgStruct* args, MFENUM_SEND_MESSAGE_ mir_snwprintf(buffer, 1024, TranslateT("Message sent")); if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) - ShowClassPopupT("MirFox_Notify", L"MirFox", buffer); + ShowClassPopupW("MirFox_Notify", L"MirFox", buffer); else - PUShowMessageT(buffer, SM_NOTIFY); + PUShowMessageW(buffer, SM_NOTIFY); delete[] buffer; } @@ -249,9 +249,9 @@ void MirandaUtils::sendMessage(ActionThreadArgStruct* args, MFENUM_SEND_MESSAGE_ } if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) { - ShowClassPopupT("MirFox_Error", TranslateT("MirFox error"), buffer); + ShowClassPopupW("MirFox_Error", TranslateT("MirFox error"), buffer); } else { - PUShowMessageT(buffer, SM_WARNING); + PUShowMessageW(buffer, SM_WARNING); } //if MFENUM_SMM_SEND_AND_SHOW_MW, even if error sending message - notify hook to open window @@ -396,9 +396,9 @@ void MirandaUtils::setStatusOnAccount(ActionThreadArgStruct* args) } if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) { - ShowClassPopupT("MirFox_Notify", L"MirFox", buffer); + ShowClassPopupW("MirFox_Notify", L"MirFox", buffer); } else { - PUShowMessageT(buffer, SM_NOTIFY); + PUShowMessageW(buffer, SM_NOTIFY); } } else { if (tszAccountName != nullptr){ @@ -410,9 +410,9 @@ void MirandaUtils::setStatusOnAccount(ActionThreadArgStruct* args) } if(ServiceExists(MS_POPUP_ADDPOPUPCLASS)) { - ShowClassPopupT("MirFox_Error", TranslateT("MirFox error"), buffer); + ShowClassPopupW("MirFox_Error", TranslateT("MirFox error"), buffer); } else { - PUShowMessageT(buffer, SM_WARNING); + PUShowMessageW(buffer, SM_WARNING); } } delete[] buffer; -- cgit v1.2.3