From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: less TCHARs: - TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/src/popup.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/NewXstatusNotify/src/popup.h') diff --git a/plugins/NewXstatusNotify/src/popup.h b/plugins/NewXstatusNotify/src/popup.h index 5bcce77072..1ffc9b7875 100644 --- a/plugins/NewXstatusNotify/src/popup.h +++ b/plugins/NewXstatusNotify/src/popup.h @@ -35,7 +35,7 @@ #define PCA_OPENHISTORY 4 // open contact history #define PCA_DONOTHING 5 // do nothing -#define STRING_SHOWPREVIOUSSTATUS LPGENT("(was %s)") +#define STRING_SHOWPREVIOUSSTATUS LPGENW("(was %s)") typedef struct tagPLUGINDATA { @@ -47,18 +47,18 @@ typedef struct tagPLUGINDATA } PLUGINDATA; static struct { - TCHAR *Text; + wchar_t *Text; int Action; } PopupActions[] = { - LPGENT("Open message window"), PCA_OPENMESSAGEWND, - LPGENT("Close popup"), PCA_CLOSEPOPUP, - LPGENT("Open contact details window"), PCA_OPENDETAILS, - LPGENT("Open contact menu"), PCA_OPENMENU, - LPGENT("Open contact history"), PCA_OPENHISTORY, - LPGENT("Do nothing"), PCA_DONOTHING + LPGENW("Open message window"), PCA_OPENMESSAGEWND, + LPGENW("Close popup"), PCA_CLOSEPOPUP, + LPGENW("Open contact details window"), PCA_OPENDETAILS, + LPGENW("Open contact menu"), PCA_OPENMENU, + LPGENW("Open contact history"), PCA_OPENHISTORY, + LPGENW("Do nothing"), PCA_DONOTHING }; -void ShowChangePopup(MCONTACT hContact, HICON hIcon, WORD newStatus, const TCHAR *stzText, PLUGINDATA *pdp = NULL); +void ShowChangePopup(MCONTACT hContact, HICON hIcon, WORD newStatus, const wchar_t *stzText, PLUGINDATA *pdp = NULL); LRESULT CALLBACK PopupDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); #endif \ No newline at end of file -- cgit v1.2.3