diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/delphi/m_database.inc | 2 | ||||
| -rw-r--r-- | include/m_database.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc index 93baaf542e..e7c1d5499a 100644 --- a/include/delphi/m_database.inc +++ b/include/delphi/m_database.inc @@ -298,7 +298,7 @@ function DbEvent_RegisterType(et:PDBEVENTTYPEDESCR) : int; stdcall; external App function DbEvent_GetType(szModule:PAnsiChar; eventType:int) : PDBEVENTTYPEDESCR; stdcall; external AppDll;
function DbEvent_GetTextA(dbei:PDBEVENTINFO; codepage:int) : PAnsiChar; stdcall; external AppDll;
-function DbEvent_GetTextW(dbei:PDBEVENTINFO; codepage:int) : PWideChar; stdcall; external AppDll;
+function DbEvent_GetTextW(dbei:PDBEVENTINFO) : PWideChar; stdcall; external AppDll;
function DbEvent_GetIcon(dbei:PDBEVENTINFO; flags:int) : HICON; stdcall; external AppDll;
diff --git a/include/m_database.h b/include/m_database.h index 5d2d4ccab8..975d3d865c 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -523,7 +523,7 @@ __forceinline MCONTACT DbGetAuthEventContact(DBEVENTINFO *dbei) // This string should be freed by a call of mir_free
EXTERN_C MIR_APP_DLL(char*) DbEvent_GetTextA(const DBEVENTINFO *dbei, int codepage);
-EXTERN_C MIR_APP_DLL(wchar_t*) DbEvent_GetTextW(const DBEVENTINFO *dbei, int codepage);
+EXTERN_C MIR_APP_DLL(wchar_t*) DbEvent_GetTextW(const DBEVENTINFO *dbei);
/////////////////////////////////////////////////////////////////////////////////////////
// Retrieves the event's icon
|
