summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/options.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-08 16:05:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-08 16:05:43 +0000
commitadab25b574bb359bf11dbc175e5bf983f7b388cd (patch)
tree4e90aebd0fbfd21f7b19efd482bf73595231262f /plugins/FTPFileYM/options.cpp
parentceca2626dbff2f0045ed275394f4f29e14d563ea (diff)
FTPFileYM:
adopted git-svn-id: http://svn.miranda-ng.org/main/trunk@851 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM/options.cpp')
-rw-r--r--plugins/FTPFileYM/options.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/FTPFileYM/options.cpp b/plugins/FTPFileYM/options.cpp
index 65700e1744..b1dfdb0c62 100644
--- a/plugins/FTPFileYM/options.cpp
+++ b/plugins/FTPFileYM/options.cpp
@@ -16,8 +16,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "deletetimer.h"
-#include "options.h"
+#include "common.h"
Options *Options::instance = NULL;
Options &opt = Options::getInstance();
@@ -299,12 +298,12 @@ int Options::InitOptions(WPARAM wParam, LPARAM lParam)
odp.ptszTab = LPGENT("Accounts");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_FTPFILE);
odp.pfnDlgProc = Options::DlgProcOptsAccounts;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
odp.ptszTab = LPGENT("Advanced");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_ADVANCED);
odp.pfnDlgProc = Options::DlgProcOptsAdvanced;
- CallService(MS_OPT_ADDPAGE, wParam, (LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
return 0;
} \ No newline at end of file