summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/VypressChat/options.c
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-04-04 14:27:04 +0000
committerRobert Pösel <robyer@seznam.cz>2014-04-04 14:27:04 +0000
commitc7181615b01d42717df5a4cc557995fe8970e555 (patch)
tree829b619062f5630b15701a5faaaf16019b893ae6 /plugins/!NotAdopted/VypressChat/options.c
parente08dd78ccf05f9d5d768e5436fcfc5e8126356fe (diff)
Partial adopttion of VypressChat and WinPopup plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@8849 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/VypressChat/options.c')
-rw-r--r--plugins/!NotAdopted/VypressChat/options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/!NotAdopted/VypressChat/options.c b/plugins/!NotAdopted/VypressChat/options.c
index d159b06b7d..b23b43758a 100644
--- a/plugins/!NotAdopted/VypressChat/options.c
+++ b/plugins/!NotAdopted/VypressChat/options.c
@@ -495,7 +495,7 @@ static int options_hook_opt_initialise(
odp.pszTitle = Translate(VQCHAT_PROTO_NAME);
odp.pfnDlgProc = options_user_dlgproc;
odp.flags = ODPF_BOLDGROUPS;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
/* add network configuration page
*/
@@ -504,7 +504,7 @@ static int options_hook_opt_initialise(
odp.pszTitle = Translate(VQCHAT_PROTO_NAME " Network");
odp.pfnDlgProc = options_network_dlgproc;
odp.flags = ODPF_BOLDGROUPS;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
return 0; /* success */
}
@@ -758,7 +758,7 @@ static void options_load_settings()
/* ok, got name from db */
user_set_nickname(dbv.pszVal, FALSE);
}
- DBFreeVariant(&dbv);
+ db_free(&dbv);
}
/* get user gender */
@@ -879,7 +879,7 @@ static void options_load_settings()
user_set_chanlist(dbv.pszVal, FALSE);
}
}
- if(!rc) DBFreeVariant(&dbv);
+ if(!rc) db_free(&dbv);
/* convert broadcasts masks from old-style
*/