summaryrefslogtreecommitdiff
path: root/include/newpluginapi.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-13 21:07:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-13 21:07:40 +0300
commit077510f386ab4a327e3358c8a5de2fa91b99d9e1 (patch)
treeda74fc8c7c96a59c248a17958cfae3f79b70d3d7 /include/newpluginapi.h
parente8173bb66d10c1716fc659e08a77528e71375ae3 (diff)
getByte/getWord/getDword: correct default values restored
Diffstat (limited to 'include/newpluginapi.h')
-rw-r--r--include/newpluginapi.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/newpluginapi.h b/include/newpluginapi.h
index ca4b95487b..2be52e3d47 100644
--- a/include/newpluginapi.h
+++ b/include/newpluginapi.h
@@ -238,29 +238,29 @@ public:
return db_get_b(hContact, m_szModuleName, name, defaultValue) != 0;
}
- __forceinline int getByte(const char *name, BYTE defaultValue = 0)
+ __forceinline int getByte(const char *name, int defaultValue = 0)
{
return db_get_b(0, m_szModuleName, name, defaultValue);
}
- __forceinline int getByte(MCONTACT hContact, const char *name, BYTE defaultValue = 0)
+ __forceinline int getByte(MCONTACT hContact, const char *name, int defaultValue = 0)
{
return db_get_b(hContact, m_szModuleName, name, defaultValue);
}
- __forceinline int getWord(const char *name, WORD defaultValue = 0)
+ __forceinline int getWord(const char *name, int defaultValue = 0)
{
return db_get_w(0, m_szModuleName, name, defaultValue);
}
- __forceinline int getWord(MCONTACT hContact, const char *name, WORD defaultValue = 0)
+ __forceinline int getWord(MCONTACT hContact, const char *name, int defaultValue = 0)
{
return db_get_w(hContact, m_szModuleName, name, defaultValue);
}
- __forceinline DWORD getDword(const char *name, DWORD defaultValue = 0)
+ __forceinline DWORD getDword(const char *name, int defaultValue = 0)
{
return db_get_dw(0, m_szModuleName, name, defaultValue);
}
- __forceinline DWORD getDword(MCONTACT hContact, const char *name, DWORD defaultValue = 0)
+ __forceinline DWORD getDword(MCONTACT hContact, const char *name, int defaultValue = 0)
{
return db_get_dw(hContact, m_szModuleName, name, defaultValue);
}