From 34947d066b994c2ef9121a83497da344982d28e2 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 17 May 2018 18:04:41 +0800 Subject: v0.1.0 --- src/lua/embed/embed.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/lua/embed/embed.h') diff --git a/src/lua/embed/embed.h b/src/lua/embed/embed.h index 685355f..2ef8b75 100644 --- a/src/lua/embed/embed.h +++ b/src/lua/embed/embed.h @@ -33,16 +33,16 @@ namespace embed // embed scripts const jin_Embed scripts[] = { - { "graphics.lua", graphics_lua }, - { "keyboard.lua", keyboard_lua }, - { "mouse.lua", mouse_lua }, - { "debug.lua", debug_lua}, - { "boot.lua", boot_lua }, - { 0, 0 } + {"graphics.lua", graphics_lua}, + {"keyboard.lua", keyboard_lua}, + {"mouse.lua", mouse_lua}, + {"debug.lua", debug_lua}, + {"boot.lua", boot_lua}, + {0, 0} }; // load all emebd lua scripts - for (int i = 0; scripts[i].fname; i++) + for (int i = 0; scripts[i].fname; ++i) embed(L, scripts[i].source, scripts[i].fname); } } -- cgit v1.1-26-g67d0