aboutsummaryrefslogtreecommitdiff
path: root/src/lua/embed/embed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/embed/embed.h')
-rw-r--r--src/lua/embed/embed.h14
1 files changed, 7 insertions, 7 deletions
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);
}
}