diff options
Diffstat (limited to 'source/core')
-rw-r--r-- | source/core/StarLuaConverters.hpp | 1 |
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); } }; |