summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/serverlist.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-05 10:33:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-05 10:33:01 +0000
commita24b86d275a37bde42ae74ec12c235e4fe6b0d60 (patch)
treedc195697c83eee24a29ce24806786faeba872b6d /plugins/FTPFileYM/src/serverlist.cpp
parente5483a07e282dbc6be8ee498ff6ce676ee0ce2ed (diff)
- removed useless array for icons handle;
- removed unused stubs for the database functions git-svn-id: http://svn.miranda-ng.org/main/trunk@2651 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FTPFileYM/src/serverlist.cpp')
-rw-r--r--plugins/FTPFileYM/src/serverlist.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/FTPFileYM/src/serverlist.cpp b/plugins/FTPFileYM/src/serverlist.cpp
index 1d1c67b145..4374a08834 100644
--- a/plugins/FTPFileYM/src/serverlist.cpp
+++ b/plugins/FTPFileYM/src/serverlist.cpp
@@ -57,9 +57,9 @@ void ServerList::saveToDb() const
DB::setWordF(0, MODULE, "FtpProto%d", opt.selected, ftp->ftpProto);
DB::setWordF(0, MODULE, "Port%d", opt.selected, ftp->iPort);
DB::setByteF(0, MODULE, "Passive%d", opt.selected, ftp->bPassive);
- DB::setByte(0, MODULE, "Selected", opt.selected);
- DB::setByte(0, MODULE, "Enabled", opt.enabled);
- DB::setByte(0, MODULE, "Default", opt.defaultFTP);
+ db_set_b(0, MODULE, "Selected", opt.selected);
+ db_set_b(0, MODULE, "Enabled", opt.enabled);
+ db_set_b(0, MODULE, "Default", opt.defaultFTP);
}
ServerList::FTP::FTP(int index)