summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/luaengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/luaengine.cpp')
-rw-r--r--src/frontend/mame/luaengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp
index 6de0335fa77..1bdc3582fef 100644
--- a/src/frontend/mame/luaengine.cpp
+++ b/src/frontend/mame/luaengine.cpp
@@ -64,7 +64,7 @@ namespace sol
lua_setfield(L, LUA_REGISTRYINDEX, "sol::buffer_temp");
}
else
- lua_pop(L, -1);
+ lua_pop(L, -1);
luaL_pushresultsize(&buff, len);
}
@@ -814,7 +814,7 @@ void lua_engine::initialize()
auto ret = func();
if (ret.valid()) {
const char *tmp = ret.get<const char *>();
- if (tmp != nullptr)
+ if (tmp != nullptr)
ctx.result = tmp;
else
exit(0);