From 3f4d2d3d5b85d0bd636e76e470b4cbc6e5a3f6f5 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 16 Jan 2016 18:00:16 +0000 Subject: MirLua: forgotten breaks git-svn-id: http://svn.miranda-ng.org/main/trunk@16100 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_database.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3