aboutsummaryrefslogtreecommitdiffstats
path: root/src/launcherutil.c
diff options
context:
space:
mode:
authorLibravatar bigfoot547 <[email protected]>2024-01-09 04:27:18 -0600
committerLibravatar bigfoot547 <[email protected]>2024-01-09 04:27:18 -0600
commit82ceaa4680ee1a626effb6008ba605a10da07468 (patch)
tree90fff79a9857be692fd7a991f97660b672b8129c /src/launcherutil.c
parentfinish the runtime stuff (buggy maybe) (diff)
actually use runtime
Diffstat (limited to 'src/launcherutil.c')
-rw-r--r--src/launcherutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/launcherutil.c b/src/launcherutil.c
index 070290d..4a866f5 100644
--- a/src/launcherutil.c
+++ b/src/launcherutil.c
@@ -603,6 +603,7 @@ int l2_launcher__ftw_internal(char **path, int depth, l2_ftw_proc_t *proc, struc
flags |= L2_FTW_SYMLINK;
}
+ ftw->user.baseoffset = (int)pathlen + 1;
if ((res = (*proc)(*path, &st, flags, (struct l2_ftw_data *)ftw))) {
CMD_DEBUG("myftw: user aborted %s: %d", *path, res);
ftw->abort = 1;