Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarLuaConverters.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-07-25 00:57:35 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-07-25 00:57:35 +1000
commitd07baefaaad18a3b096c085855fc9038a5647ba1 (patch)
tree82050b1398c468043131edba3dcfeec4729a36c9 /source/core/StarLuaConverters.hpp
parentea084165bf2f414a49a559ddf5921b9073fc464c (diff)
Update StarLuaConverters.hpp
Diffstat (limited to 'source/core/StarLuaConverters.hpp')
-rw-r--r--source/core/StarLuaConverters.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/core/StarLuaConverters.hpp b/source/core/StarLuaConverters.hpp
index 3270d16..f476d2e 100644
--- a/source/core/StarLuaConverters.hpp
+++ b/source/core/StarLuaConverters.hpp
@@ -24,6 +24,7 @@ struct LuaConverter<LuaNullTermWrapper<T>> : LuaConverter<T> {
}
static LuaNullTermWrapper<T> to(LuaEngine& engine, LuaValue const& v) {
+ auto enforcer = engine.nullTerminate();
return LuaConverter<T>::to(engine, v);
}
};