diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-02-12 01:17:31 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2008-02-12 01:17:31 +0000 |
commit | c94a4dbc5bff33b467fa08a3543f3f20c9aca65e (patch) | |
tree | 8e72d2d37189b8c9bc95b5e03798f534adac0fce /metacontacts/meta_menu.c | |
parent | 0052027afc21a221b69f65e3a6b79ca568c2f3bf (diff) |
db string fixes
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@397 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'metacontacts/meta_menu.c')
-rw-r--r-- | metacontacts/meta_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/metacontacts/meta_menu.c b/metacontacts/meta_menu.c index 9367d3b..4165c3b 100644 --- a/metacontacts/meta_menu.c +++ b/metacontacts/meta_menu.c @@ -43,8 +43,8 @@ int Meta_Convert(WPARAM wParam,LPARAM lParam) // Get some information about the selected contact.
// proto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO,wParam,0);
- if(!MyDBGetContactSetting((HANDLE)wParam,"CList","Group",&dbv)) {
- group = ((dbv.type == DBVT_ASCIIZ || dbv.type == DBVT_UTF8) ? _strdup(dbv.pszVal) : NULL);
+ if(!DBGetContactSettingStringUtf((HANDLE)wParam,"CList","Group",&dbv)) {
+ group = _strdup(dbv.pszVal);
DBFreeVariant(&dbv);
}
|