diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
commit | 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch) | |
tree | 2e8bb660c908b54914abd562af8aafa4a486c846 /include/m_options.h | |
parent | a61c8728b379057fe7f0a0d86fe0b037598229dd (diff) |
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
Diffstat (limited to 'include/m_options.h')
-rw-r--r-- | include/m_options.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/include/m_options.h b/include/m_options.h index 8ebefb40e8..50dd7e1627 100644 --- a/include/m_options.h +++ b/include/m_options.h @@ -59,28 +59,28 @@ DLUs. typedef struct {
int position; //a position number, lower numbers are topmost
union {
- char* pszTitle; // [TRANSLATED-BY-CORE]
- TCHAR* ptszTitle;
+ char *pszTitle; // [TRANSLATED-BY-CORE]
+ wchar_t *pwszTitle;
};
DLGPROC pfnDlgProc;
char *pszTemplate;
HINSTANCE hInstance;
- HICON hIcon; //v0.1.0.1+
+ HICON hIcon;
union {
- char* pszGroup; //v0.1.0.1+ [TRANSLATED-BY-CORE]
- TCHAR* ptszGroup; //v0.1.0.1+
+ char *pszGroup;
+ wchar_t *pwszGroup;
};
- int groupPosition; //v0.1.0.1+
- HICON hGroupIcon; //v0.1.0.1+
- DWORD flags; //v0.1.2.1+
+ int groupPosition;
+ HICON hGroupIcon;
+ DWORD flags;
union {
- char* pszTab; //v0.6.0.0+ [TRANSLATED-BY-CORE]
- TCHAR* ptszTab; //v0.6.0.0+
+ char *pszTab;
+ wchar_t *pwszTab;
};
union {
- LPARAM dwInitParam; //v0.8.0.0+ a value to pass to lParam of WM_INITDIALOG message
+ LPARAM dwInitParam; // a value to pass to lParam of WM_INITDIALOG message
class CDlgBase *pDialog;
};
int hLangpack;
|