summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-09-14 18:04:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-09-14 18:04:55 +0000
commit3db0313f338d25593eeda9d60dd7b3c2f15394eb (patch)
tree997b4c06e585c47a415a916b0e37255e198a7038 /plugins
parent7bdb598e26e7e98788933af43090d34027166969 (diff)
fix for 32-bit libs
git-svn-id: http://svn.miranda-ng.org/main/trunk@17297 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MirFox/src/MirandaUtils.cpp4
-rw-r--r--plugins/MirLua/src/m_database.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirFox/src/MirandaUtils.cpp b/plugins/MirFox/src/MirandaUtils.cpp
index 93587d2d66..b3d859ba60 100644
--- a/plugins/MirFox/src/MirandaUtils.cpp
+++ b/plugins/MirFox/src/MirandaUtils.cpp
@@ -526,7 +526,7 @@ void MirandaUtils::translateOldDBNames() {
}
}
- //delete db module
- DbModule_Delete(0, OLD_PLUGIN_DB_ID);
+ // delete db module
+ db_delete_module(0, OLD_PLUGIN_DB_ID);
}
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp
index 64715f01cf..c7c8c091f4 100644
--- a/plugins/MirLua/src/m_database.cpp
+++ b/plugins/MirLua/src/m_database.cpp
@@ -376,7 +376,7 @@ static int db_DeleteModule(lua_State *L)
MCONTACT hContact = lua_tointeger(L, 1);
LPCSTR szModule = luaL_checkstring(L, 2);
- INT_PTR res = DbModule_Delete(hContact, szModule);
+ INT_PTR res = db_delete_module(hContact, szModule);
lua_pushboolean(L, !res);
return 1;