summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/chat/options.c2
-rw-r--r--plugins/Scriver/msgoptions.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Scriver/chat/options.c b/plugins/Scriver/chat/options.c
index e58e1e824a..11ea14a12d 100644
--- a/plugins/Scriver/chat/options.c
+++ b/plugins/Scriver/chat/options.c
@@ -793,7 +793,7 @@ static int OptionsInitialize(WPARAM wParam, LPARAM lParam)
odp.pfnDlgProc = DlgProcOptionsPopup;
odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
odp.ptszTab = NULL;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
}
return 0;
diff --git a/plugins/Scriver/msgoptions.c b/plugins/Scriver/msgoptions.c
index 80358590f4..9dd1624540 100644
--- a/plugins/Scriver/msgoptions.c
+++ b/plugins/Scriver/msgoptions.c
@@ -1100,7 +1100,7 @@ int OptInitialise(WPARAM wParam, LPARAM lParam)
odp.pszTemplate = MAKEINTRESOURCEA(tabPages[i].dlgId);
odp.pfnDlgProc = tabPages[i].dlgProc;
odp.pszTab = (char*)tabPages[i].tabName;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM) & odp);
+ Options_AddPage(wParam, &odp);
}
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_MSGTYPE);
@@ -1108,7 +1108,7 @@ int OptInitialise(WPARAM wParam, LPARAM lParam)
odp.pszTitle = LPGEN("Typing Notify");
odp.pfnDlgProc = DlgProcTypeOptions;
odp.pszTab = NULL;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM) & odp);
+ Options_AddPage(wParam, &odp);
return 0;
}