summaryrefslogtreecommitdiff
path: root/include/m_hotkeys.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-29 12:36:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-29 12:36:34 +0000
commit428bf0cbd77813a43094cb5c984436deff251936 (patch)
treed7dfa8971153d53a849e45c942be97fe5b90b7ec /include/m_hotkeys.h
parent82ef17ca5286f58ae7af604fb9518e8dc496b7c3 (diff)
no more TCHARs
git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_hotkeys.h')
-rw-r--r--include/m_hotkeys.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/m_hotkeys.h b/include/m_hotkeys.h
index a732dda242..913d586242 100644
--- a/include/m_hotkeys.h
+++ b/include/m_hotkeys.h
@@ -29,23 +29,17 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define HKD_UNICODE 0x0001
-#if defined(_UNICODE)
- #define HKD_TCHAR HKD_UNICODE
-#else
- #define HKD_TCHAR 0
-#endif
-
typedef struct
{
int cbSize;
const char *pszName; /* name to refer to hotkey when playing and in db */
union {
const char *pszDescription; /* description for options dialog */
- const wchar_t *ptszDescription;
+ const wchar_t *pwszDescription;
};
union {
const char *pszSection; /* section name used to group sounds (NULL is acceptable) */
- const wchar_t *ptszSection;
+ const wchar_t *pwszSection;
};
const char *pszService; /* Service to call when HotKey Pressed */
WORD DefHotKey; /* default hot key for action */