diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-06-13 18:43:41 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-06-13 18:43:41 +0000 |
commit | 6ff460c84fa8035de8f24e799f9fba336e4f102c (patch) | |
tree | 404554e640a803683fb27128f702bf989ebfab63 /plugins/MirLua | |
parent | 1c6b8b1f06d26f3ac4db17d6eb203538ba358057 (diff) |
MirLua: m_database.GetSeting return setting type as second value
git-svn-id: http://svn.miranda-ng.org/main/trunk@16969 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/src/m_database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp index f74c869ae7..a4ac7f1de6 100644 --- a/plugins/MirLua/src/m_database.cpp +++ b/plugins/MirLua/src/m_database.cpp @@ -442,10 +442,10 @@ static int db_GetSetting(lua_State *L) lua_pushvalue(L, 4);
return 1;
}
-
+ lua_pushinteger(L, dbv.type);
db_free(&dbv);
- return 1;
+ return 2;
}
static int db_WriteSetting(lua_State *L)
|