summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/common.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-27 14:23:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-27 14:23:31 +0000
commit2f261839b60692e33d0e160344d0d636d49c90ba (patch)
tree187921722698b681d29df3f6e60fb18394a5e9d5 /plugins/Popup/src/common.h
parent2e931a0b2780587d85f3902468c935f5adba70c8 (diff)
less TCHARs
git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/common.h')
-rw-r--r--plugins/Popup/src/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Popup/src/common.h b/plugins/Popup/src/common.h
index 28eac5417f..5fff5e0444 100644
--- a/plugins/Popup/src/common.h
+++ b/plugins/Popup/src/common.h
@@ -70,9 +70,9 @@ inline INT_PTR DBGetContactSettingStringX(MCONTACT hContact, const char *ModuleN
break;
case DBVT_TCHAR:
if (!result)
- ret = (INT_PTR)mir_tstrdup(dbv.ptszVal);
+ ret = (INT_PTR)mir_wstrdup(dbv.ptszVal);
else
- ret = (INT_PTR)mir_a2t(Default);
+ ret = (INT_PTR)mir_a2u(Default);
break;
}
if (!result)
@@ -89,7 +89,7 @@ inline void AddTooltipTranslated(HWND hwndToolTip, HWND hwnd, int id, RECT rc, c
ti.uId = id;
SendMessage(hwndToolTip, TTM_DELTOOL, 0, (LPARAM)&ti);
- LPTSTR wtext = mir_a2t(text);
+ LPTSTR wtext = mir_a2u(text);
ti.uFlags = TTF_SUBCLASS;
ti.hwnd = hwnd;