Skip to content

Commit

Permalink
fix copy dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Feb 7, 2024
1 parent 3b4b1d2 commit 733afc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tbox/platform/windows/directory.c
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ tb_bool_t tb_directory_copy(tb_char_t const* path, tb_char_t const* dest, tb_siz
tb_assert_and_check_return_val(dest, tb_false);

// walk copy
tb_value_t tuple[3];
tb_value_t tuple[4];
tuple[0].cstr = dest;
tuple[1].ul = tb_strlen(path);
tuple[2].ul = flags;
Expand Down

0 comments on commit 733afc6

Please sign in to comment.