diff options
Diffstat (limited to 'plugins/Popup/src/common.h')
-rw-r--r-- | plugins/Popup/src/common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/Popup/src/common.h b/plugins/Popup/src/common.h index b078a6a1f8..fbcfc88af7 100644 --- a/plugins/Popup/src/common.h +++ b/plugins/Popup/src/common.h @@ -51,12 +51,6 @@ inline int Byte2Percentile(int vByte) { return (vByte * 100) / 255; } inline int Percentile2Byte(int vPerc) { return (vPerc * 255) / 100; }
//===== Strings & MirandaDB ==================
-inline char *db_get_s(MCONTACT hContact, const char *ModuleName, const char *SettingName, const char *Default)
-{
- char *result = db_get_sa(hContact, ModuleName, SettingName);
- return result ? result : mir_strdup(Default);
-}
-
inline INT_PTR DBGetContactSettingStringX(MCONTACT hContact, const char *ModuleName, const char *SettingName, const char *Default, const int retType)
{
INT_PTR ret = NULL;
|