diff options
Diffstat (limited to 'plugins/CmdLine/src/utils.cpp')
-rw-r--r-- | plugins/CmdLine/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CmdLine/src/utils.cpp b/plugins/CmdLine/src/utils.cpp index 69d3d93578..066dc41aa0 100644 --- a/plugins/CmdLine/src/utils.cpp +++ b/plugins/CmdLine/src/utils.cpp @@ -152,7 +152,7 @@ int GetStringFromDatabase(char *szSettingName, WCHAR *szError, WCHAR *szResult, #pragma warning (disable: 4312)
char* GetContactName(MCONTACT hContact, char *szProto)
{
- ptrT name(Contact_GetInfo(CNF_DISPLAY, hContact, szProto));
+ ptrW name(Contact_GetInfo(CNF_DISPLAY, hContact, szProto));
return (name == NULL) ? NULL : strdup(_T2A(name));
}
#pragma warning (default: 4312)
@@ -175,7 +175,7 @@ char* GetContactID(MCONTACT hContact) char* GetContactID(MCONTACT hContact, char *szProto)
{
- ptrT name(Contact_GetInfo(CNF_UNIQUEID, hContact, szProto));
+ ptrW name(Contact_GetInfo(CNF_UNIQUEID, hContact, szProto));
return (name == NULL) ? NULL : strdup(_T2A(name));
}
#pragma warning (default: 4312)
|