summaryrefslogtreecommitdiff
path: root/core/src/xmake/os/find.c
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-10 23:20:11 +0800
committerruki <[email protected]>2025-11-10 23:20:11 +0800
commitef701a4dce8b7d9a663e084d1fc0b243ddae9397 (patch)
tree45fd20851dd3480bd042dd14af77286c4289d190 /core/src/xmake/os/find.c
parent6db4c62a474e380071625fa5cb7743972a562940 (diff)
format core code again
Diffstat (limited to 'core/src/xmake/os/find.c')
-rw-r--r--core/src/xmake/os/find.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/os/find.c b/core/src/xmake/os/find.c
index 144ab4daa..aa40bf5bb 100644
--- a/core/src/xmake/os/find.c
+++ b/core/src/xmake/os/find.c
@@ -82,7 +82,7 @@ static tb_long_t xm_os_find_walk(tb_char_t const *path, tb_file_info_t const *in
tb_bool_t excluded = tb_false;
if (lua_istable(lua, 5)) {
// the root directory
- size_t rootlen = 0;
+ size_t rootlen = 0;
tb_char_t const *rootdir = luaL_checklstring(lua, 1, &rootlen);
tb_assert_and_check_return_val(rootdir && rootlen, TB_DIRECTORY_WALK_CODE_END);
@@ -95,7 +95,7 @@ static tb_long_t xm_os_find_walk(tb_char_t const *path, tb_file_info_t const *in
}
// exclude paths
- tb_int_t i = 0;
+ tb_int_t i = 0;
tb_int_t count = (tb_int_t)lua_objlen(lua, 5);
for (i = 0; i < count && !excluded; i++) {
// get exclude