summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-01-16 18:00:16 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-01-16 18:00:16 +0000
commit3f4d2d3d5b85d0bd636e76e470b4cbc6e5a3f6f5 (patch)
tree654050fdd4156e643bf23b65a836b7e4d679e49f /plugins/MirLua
parent3489612b70c5354875b1bd38d4dc7647182ef27e (diff)
MirLua: forgotten breaks
git-svn-id: http://svn.miranda-ng.org/main/trunk@16100 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/m_database.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp
index e3c6e811fe..8ac3d99a35 100644
--- a/plugins/MirLua/src/m_database.cpp
+++ b/plugins/MirLua/src/m_database.cpp
@@ -361,8 +361,10 @@ static int lua_WriteSetting(lua_State *L)
break;
case DBVT_UTF8:
dbv.pszVal = mir_strdup(luaL_checkstring(L, 4));
+ break;
case DBVT_ASCIIZ:
dbv.pszVal = mir_utf8decodeA(luaL_checkstring(L, 4));
+ break;
case DBVT_WCHAR:
dbv.pwszVal = mir_utf8decodeW(luaL_checkstring(L, 4));
break;