summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/util.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-06 12:29:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-06 12:29:10 +0000
commitf47f0588198969e731e7a891c10de5b4627742cb (patch)
tree5f69d26900febc4b86bb9f9669743657af8505c8 /protocols/Yahoo/src/util.cpp
parentd59bd1a4e5cdb03de7ae785411ba2a7f08b72999 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2994 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/util.cpp')
-rw-r--r--protocols/Yahoo/src/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Yahoo/src/util.cpp b/protocols/Yahoo/src/util.cpp
index 5b315fc0df..aa5aa7803e 100644
--- a/protocols/Yahoo/src/util.cpp
+++ b/protocols/Yahoo/src/util.cpp
@@ -125,12 +125,12 @@ DWORD CYahooProto::SetDword( HANDLE hContact, const char* valueName, DWORD parVa
WORD CYahooProto::SetWord( HANDLE hContact, const char* valueName, int parValue )
{
- return db_get_w( hContact, m_szModuleName, valueName, parValue );
+ return db_set_w( hContact, m_szModuleName, valueName, parValue );
}
WORD CYahooProto::GetWord( HANDLE hContact, const char* valueName, int parDefltValue )
{
- return db_set_w( hContact, m_szModuleName, valueName, parDefltValue );
+ return db_get_w( hContact, m_szModuleName, valueName, parDefltValue );
}
DWORD CYahooProto::Set_Protocol( HANDLE hContact, int protocol )