summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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;