diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-27 12:43:20 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-27 12:43:20 +0300 |
commit | 423be683866fd8e305457eb725d8cdbe1f297fbd (patch) | |
tree | c49a7bdaf7f08683b9bfae48f0250050b2bf1872 /plugins/MirFox/src | |
parent | 288a07c81370226937d882b7a14fe3b6e3607e9e (diff) |
popup code cleaning (cause we have no tchar.h)
Diffstat (limited to 'plugins/MirFox/src')
-rw-r--r-- | plugins/MirFox/src/MirandaUtils.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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;
|