From f48986597e6ff092feb0f18a79c6fa51a3f0e3bb Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sun, 16 Jul 2023 16:31:43 -0700 Subject: Fix path concatenation. --- filesystem/include/filesystem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filesystem/include') diff --git a/filesystem/include/filesystem.h b/filesystem/include/filesystem.h index 62bd7f0..3dce87f 100644 --- a/filesystem/include/filesystem.h +++ b/filesystem/include/filesystem.h @@ -15,5 +15,5 @@ void* read_file(const char* filepath); /// Make a path relative to the parent directory of a file. bool make_relative_path( - size_t max_path_length, const char* filepath, const char* path, - char* relative); + const char* filepath, const char* path, char* relative, + size_t relative_length); -- cgit v1.2.3