diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-10 23:33:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-10 23:33:35 +0000 |
commit | 18448e7014c32235db05465f1bf76b30f9954029 (patch) | |
tree | ebf78a23f27c92eeff9ad3d185258ea8fe029e97 /include/m_chat.h | |
parent | 452fb59c22573ddf7939bea02b5e58f4f2e3916c (diff) |
GCDEST::pszModule and GCDEST::ptszID must be constant
git-svn-id: http://svn.miranda-ng.org/main/trunk@7586 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_chat.h')
-rw-r--r-- | include/m_chat.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/m_chat.h b/include/m_chat.h index d679e43706..13b0561ede 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -439,9 +439,9 @@ struct GCSESSION // The GCDEST structure. It is passed to Chat inside GCEVENT.
struct GCDEST
{
- LPSTR pszModule; // Name of the protocol (same as you registered with)
- LPTSTR ptszID; // Unique identifier of the session, or NULL to broadcast to all sessions as specified above
- int iType; // Use GC_EVENT_* as defined above. Only one event per service call.
+ LPCSTR pszModule; // Name of the protocol (same as you registered with)
+ LPCTSTR ptszID; // Unique identifier of the session, or NULL to broadcast to all sessions as specified above
+ int iType; // Use GC_EVENT_* as defined above. Only one event per service call.
};
// The GCEVENT structure
@@ -548,8 +548,8 @@ struct GC_INFO struct GCHOOK
{
GCDEST *pDest; // pointer to a GCDEST structure which specifies from which session the hook was triggered
- TCHAR *ptszText; // usage depends on type of event
- TCHAR *ptszUID; // unique identifier, usage depends on type of event
+ LPTSTR ptszText; // usage depends on type of event
+ LPTSTR ptszUID; // unique identifier, usage depends on type of event
INT_PTR dwData; // user defined data, usage depends on type of event
};
|